Description (CNA)
Showdown through 2.1.0 contains a cross-site scripting vulnerability in the makehtml link and image subparsers, which fail to escape double quotes in destination URLs placed into href and src attributes. Attackers can craft markdown links or images containing a double quote followed by onerror or onmouseover handlers to execute script when victims view rendered HTML.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| showdownjs / showdown | affected 0 through 2.1.0 |
CWE
CWE-79
References
- https://github.com/showdownjs/showdown/commit/4fb992cd26631c108ec0410342630c80207ec7c6
- https://github.com/showdownjs/showdown
- https://www.vulncheck.com/advisories/showdown-through-2.1.0-xss-via-unescaped-quote-in-href-and-src-attributes
ADP enrichment
No English description supplied.
No references supplied.