showdown metadata title handling allows cross-site scripting (CVE-2026-59711)
Showdown contains a cross-site scripting (XSS) vulnerability in its metadata title handling. When the completeHTMLDocument option is enabled, unescaped less-than and greater-than characters in markdown frontmatter metadata are inserted directly into HTML title tags. This allows attackers to inject arbitrary HTML and JavaScript, enabling script execution in the rendered page. The vulnerability affects all versions up to and including 2.1.0. The CVSS score is 6.1, indicating a medium severity level.
AI Analysis
Technical Summary
The Showdown markdown-to-HTML converter has a cross-site scripting vulnerability (CVE-2026-59711) in how it processes metadata titles. Specifically, when the completeHTMLDocument option is enabled, unescaped < and > characters in markdown frontmatter metadata are directly inserted into HTML <title> tags without proper sanitization or escaping. This flaw allows attackers to break out of the title context and inject arbitrary HTML and JavaScript, leading to potential script execution in users' browsers. The vulnerability affects all versions up to and including 2.1.0. There is no information about an available patch or official fix at this time.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary scripts in the context of the affected web page by injecting malicious code into the metadata title. This can lead to partial compromise of confidentiality and integrity (as indicated by the CVSS vector: low confidentiality and integrity impact) but does not affect availability. The vulnerability requires user interaction (UI:R) and can be exploited remotely without privileges (AV:N, PR:N).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling the completeHTMLDocument option or sanitizing metadata titles before processing. Avoid using untrusted input in markdown frontmatter metadata that will be rendered into HTML title tags.
showdown metadata title handling allows cross-site scripting (CVE-2026-59711)
Description
Showdown contains a cross-site scripting (XSS) vulnerability in its metadata title handling. When the completeHTMLDocument option is enabled, unescaped less-than and greater-than characters in markdown frontmatter metadata are inserted directly into HTML title tags. This allows attackers to inject arbitrary HTML and JavaScript, enabling script execution in the rendered page. The vulnerability affects all versions up to and including 2.1.0. The CVSS score is 6.1, indicating a medium severity level.
CVSS v3.1
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Showdown markdown-to-HTML converter has a cross-site scripting vulnerability (CVE-2026-59711) in how it processes metadata titles. Specifically, when the completeHTMLDocument option is enabled, unescaped < and > characters in markdown frontmatter metadata are directly inserted into HTML <title> tags without proper sanitization or escaping. This flaw allows attackers to break out of the title context and inject arbitrary HTML and JavaScript, leading to potential script execution in users' browsers. The vulnerability affects all versions up to and including 2.1.0. There is no information about an available patch or official fix at this time.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary scripts in the context of the affected web page by injecting malicious code into the metadata title. This can lead to partial compromise of confidentiality and integrity (as indicated by the CVSS vector: low confidentiality and integrity impact) but does not affect availability. The vulnerability requires user interaction (UI:R) and can be exploited remotely without privileges (AV:N, PR:N).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling the completeHTMLDocument option or sanitizing metadata titles before processing. Avoid using untrusted input in markdown frontmatter metadata that will be rendered into HTML title tags.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cr32-g25g-vxjj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-59711"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a4c33f227e9c797195ec95b
Added to database: 07/06/2026, 23:02:10 UTC
Last enriched: 08/08/2026, 16:46:16 UTC
Last updated: 09/14/2026, 10:01:32 UTC
Views: 100
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.