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 package | Versions | Reported by |
|---|---|---|
| showdown showdown | up to 2.1.0 | CVE List |
| showdown (npm) | up to 2.1.0 | GitHub Advisory Database |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS: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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59711 changed 2026-07-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cr32-g25g-vxjj changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-59711 changed 2026-10-25 | Public domain |