bootstrap-wysihtml5
bootstrap-wysihtml5 copied to clipboard
XSS in bootstrap-wysihtml5
Hi,
The editor is vulnerable to an XSS. The editor allows users to insert link and if instead of normal link, I input JavaScript URI
javascript:alert%28location%29
then it works. The attacker can execute arbitrary code of his choice. Please fix this issue. Thanks!
I would expect this to be how it works. As this is a WYSIWYG editor. If you're worried about that type of stuff extend the code for your needs or filter this server side.
On Sunday, April 13, 2014, Ashar Javed [email protected] wrote:
Hi,
The editor is vulnerable to an XSS. The editor allows users to insert link and if instead of normal link, I input JavaScript URI
javascript:alert%28location%29
then it works. The attacker can execute arbitrary code of his choice. Please fix this issue. Thanks!
Reply to this email directly or view it on GitHubhttps://github.com/jhollingworth/bootstrap-wysihtml5/issues/340 .