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

Markdown to HTML XSS #47

Open
itsDZhang opened this issue Jun 11, 2018 · 0 comments
Open

Markdown to HTML XSS #47

itsDZhang opened this issue Jun 11, 2018 · 0 comments

Comments

@itsDZhang
Copy link

itsDZhang commented Jun 11, 2018

If I do [some text](javascript:alert('xss')) in the editor, this will get rendered when i click on the link.
The format above is in markdown

image

Therefore, this is quite vulnerable to attacks: https://github.com/showdownjs/showdown/wiki/Markdown%27s-XSS-Vulnerability-(and-how-to-mitigate-it)

Is there any way we can solve this?

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