Advisory

GHSA-cr32-g25g-vxjj

Also known as: CVE-2026-59711

Summary

showdown metadata title handling allows cross-site scripting

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-07-06 21:30 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

showdown

npm · All systems

Affected

  • introduced 0, last affected 2.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences