CVE-2026-59711
JSON

5.3medium

showdown - Cross-Site Scripting via Unescaped Metadata Title in completeHTMLDocument

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-cr32-g25g-vxjj

Description

showdown contains a cross-site scripting vulnerability in metadata title handling that allows attackers to inject arbitrary HTML and JavaScript. When completeHTMLDocument option is enabled, unescaped less-than and greater-than characters in markdown frontmatter metadata are inserted directly into HTML title tags, enabling attackers to break out of the title context and execute malicious scripts in the rendered page.

Affected

Product or packageVersionsReported by
showdown showdownup to 2.1.0CVE List
showdown (npm)up to 2.1.0GitHub Advisory Database

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
VulnCheck6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

showdown contains a cross-site scripting vulnerability in metadata title handling that allows attackers to inject arbitrary HTML and JavaScript. When completeHTMLDocument option is enabled, unescaped less-than and greater-than characters in markdown frontmatter metadata are inserted directly into HTML title tags, enabling attackers to break out of the title context and execute malicious scripts in the rendered page.

NVD (es)

showdown contiene una cross-site scripting vulnerabilidad en el manejo del título de los metadatos que permite a los atacantes inyectar HTML y JavaScript arbitrarios. Cuando la opción completeHTMLDocument está habilitada, los caracteres de menor que y mayor que sin escapar en los metadatos frontmatter de markdown se insertan directamente en las etiquetas de título HTML, lo que permite a los atacantes salir del contexto del título y ejecutar scripts maliciosos en la página renderizada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59711 changed 2026-07-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-cr32-g25g-vxjj changed 2026-09-10CC-BY-4.0
NVDCVE-2026-59711 changed 2026-10-25Public domain