Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSS vulnerability found in the Wechatsync markdown preview page #118

Open
jackfromeast opened this issue Sep 27, 2024 · 0 comments
Open

Comments

@jackfromeast
Copy link

Hi, Wechatsync developer!

Currently, the markdown rendering page does not sanitize user input for scripts, which can lead to Cross-site Scripting (XSS) in the markdown preview page.

Payload

<img src=1 onerror="javascript:alert(document.domain)">

PoC

tmp

Impact

Users of Wecharsync who open untrusted markdown files on the platform (i.e., https://www.wechatsync.com/md/) are vulnerable to XSS attacks.

Note that, since the project doesn't set the security policy, I directly report the vulnerability here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant