Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| showdownjs | showdown | ≤ 2.1.0 | — |
References
- Patch Commit patch
- https://github.com/showdownjs/showdown product
- VulnCheck Advisory: Showdown through 2.1.0 XSS via unescaped quote in href and src attributes third-party-advisory