Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-59711 EUVD-2026-41948GHSA-cr32-g25g-vxjj

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

Published Jul 6, 2026 · Updated Jul 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
showdown showdown ≤ 2.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-dashboards-3-dashboards-reporting 3.8.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm showdown <= 2.1.0 — GHSA-cr32-g25g-vxjj

References