CuteMarkEd icon indicating copy to clipboard operation
CuteMarkEd copied to clipboard

XSS can be used

Open SilverBut opened this issue 9 years ago • 1 comments

Enter the following code in the source area:

"><script>alert(1);</script>

and then you will find a message box appeared.

Entity all characters is suggested to solve this problem.

SilverBut avatar Sep 06 '15 03:09 SilverBut

Some links: https://github.com/showdownjs/showdown/wiki/Markdown's-XSS-Vulnerability-%28and-how-to-mitigate-it%29 https://michelf.ca/blog/2010/markdown-and-xss/

cloose avatar Sep 06 '15 16:09 cloose