Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

CVE-2026-59710 — showdown

Fix: showdownjs/showdown@e5cab1e

CVE-2026-59710 is a Cross-site Scripting (XSS) vulnerability in showdown. No vendor fix is recorded yet; mitigation options are listed below.

showdown - Stored XSS via Unescaped Table Header ID Attribute Injection

Also known asGHSA-22g5-r2x5-97cx
Published
Updated
Affected
1 pkg
Patched
See advisory
Exploits
None indexed
Exploitation data as of Oct 2, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-59710.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs25th percentile — riskier than 25% of all scored CVEsHighest risk
0.00%0.28%0.56%0.84%0.2%0.3%0.3%0.3%Aug 26Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
showdownnpm
1.6Mdownloads / week

Description

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.

Affected Packages

1 total
EcosystemPackageVulnerable rangeFix
📦npmshowdownall versionsNo fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for showdown, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    No patched version of showdown has shipped for CVE-2026-59710 yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Mitigate without a patch

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Showdown, as integrated into Red Hat products, is susceptible to a stored cross-site scripting vulnerability. This flaw allows an attacker to inject arbitrary HTML and script-executing SVG elements by exploiting unescaped table header ID attributes within markdown. When untrusted markdown is rendered using the default…

Workaround published by Red Hat
To mitigate this vulnerability, avoid rendering untrusted markdown content within applications utilizing Showdown. If processing untrusted markdown is unavoidable, ensure that all input is thoroughly sanitized before rendering to prevent the injection of malicious HTML or script-executing elements.
Source: Red Hat security advisory for CVE-2026-59710 (CC BY 4.0)

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2026-59710 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-59710: showdown XSS | O3 Security