# CVE-2026-59711: showdown - Cross-Site Scripting via Unescaped Metadata Title in completeHTMLDocument

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:00:38.491Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-cr32-g25g-vxjj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- showdown showdown: up to 2.1.0
- showdown (npm): up to 2.1.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/showdownjs/showdown/issues/1047> (exploit, issue-tracking, web)
- <https://github.com/showdownjs/showdown> (package, product)
- <https://www.vulncheck.com/advisories/showdown-cross-site-scripting-via-unescaped-metadata-title-in-completehtmldocument> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59711> (advisory)
- <https://github.com/showdownjs/showdown/commit/184a3e4e97f90e075c4512f2c4c06dcf655e91b7> (web)

## Sources

- CVE List: [CVE-2026-59711](https://www.cve.org/CVERecord?id=CVE-2026-59711), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-cr32-g25g-vxjj](https://github.com/advisories/GHSA-cr32-g25g-vxjj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59711](https://nvd.nist.gov/vuln/detail/CVE-2026-59711), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59711 · Whole record: https://cve.day/CVE-2026-59711.json · Rebuilt by cve.day 2026-11-25T22:59:27.264Z
