Skip to main content
EPSS 0.3%top 73%

showdown allows stored cross-site scripting through table header ID injection (CVE-2026-59710)

0
Medium
Published: 07/07/2026 (07/07/2026, 00:30:59 UTC)
Source: GCVE Database
Product: showdown

Description

Showdown contains a stored cross-site scripting (XSS) vulnerability in its table header ID parsing function. The vulnerability arises because the parseHeaders function in src/subParsers/makehtml/tables.js does not properly escape double-quote characters in markdown table headers. This allows attackers to inject arbitrary HTML and script-executing SVG elements, leading to stored XSS when untrusted markdown is rendered using the default GitHub flavor configuration. The vulnerability affects all versions up to and including 2.1.0. The CVSS score is 6.1, indicating a medium severity issue.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

showdown
pkg:npm/showdown
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 16:46:23 UTC

Technical Analysis

The stored cross-site scripting vulnerability in showdown occurs in the parseHeaders function responsible for processing table header ID attributes. Due to improper escaping of double-quote characters, an attacker can inject malicious HTML and SVG elements that execute scripts when rendered. This vulnerability is triggered when untrusted markdown content is processed with the default GitHub flavor configuration. The flaw is identified as CWE-79 (Improper Neutralization of Input During Web Page Generation). It affects all versions up to and including 2.1.0. There are no known exploits in the wild and no patch or official fix has been documented in the provided data.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary scripts in the context of the victim's browser when viewing rendered markdown content. This can lead to information disclosure and limited integrity impact. There is no direct availability impact. The vulnerability is remotely exploitable without privileges but requires user interaction (rendering of malicious markdown).

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should avoid rendering untrusted markdown content with the default GitHub flavor configuration in showdown until a fix is available. Monitoring vendor channels for updates is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-22g5-r2x5-97cx
Osv Schema Version
1.4.0
Aliases
["CVE-2026-59710"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a4cf100c9d9e3dbe31d44ac

Added to database: 07/07/2026, 12:28:48 UTC

Last enriched: 08/08/2026, 16:46:23 UTC

Last updated: 09/14/2026, 22:52:52 UTC

Views: 110

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses