CVE-2026-59710

MEDIUM

showdown - Stored XSS via Unescaped Table Header ID Attribute Injection

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 6.1
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (1)
showdown/showdown < 2.1.0
Published Jul 06, 2026
Tracked Since Jul 07, 2026