Vulnerability
CVE-2026-59710
showdown contains a stored cross-site scripting vulnerability in the parseHeaders function of src/subParsers/makehtml/tables.js that fails to properly escape table header ID attributes. Attackers can inject arbitrary HTML and script-executing SVG elements through double-quote characters in markdown table headers, achieving stored XSS when untrusted markdown is rendered with the default github flavor configuration.
13 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-23p5-6f5q-9qh5
- CGA-3pwp-m4hj-jgpj
- CGA-57xv-h5vq-9w76
- CGA-5p3w-j7gj-4h9c
- CGA-5r29-wq84-c6q5
- CGA-74vf-h6m8-7pr9
- CGA-cqx4-h2cj-q4m8
- CGA-g5x6-j9q3-x7xg
- CGA-hvwj-rmcq-976m
- CGA-j6g4-78vv-9xqq
- CGA-mxvj-596j-385j
- CGA-qwx6-jc4p-23g8
-
GHSA-22g5-r2x5-97cx
showdown allows stored cross-site scripting through table header ID injection