CVE-2026-41591
Description
Marko is a declarative, HTML-based language for building web apps. Prior to marko version 5.38.36 and prior to @marko/runtime-tags 6.0.164, when dynamic text is interpolated into a <script> or <style> tag the Marko runtime failed to prevent tag breakout when the closing tag used non-lowercase casing. An attacker able to place input inside a <script> or <style> block could break out of the tag with </SCRIPT>, </Style>, etc. and inject arbitrary HTML/JavaScript, resulting in cross-site scripting. This issue has been patched in marko version 5.38.36 and @marko/runtime-tags 6.0.164.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-08 |
Timeline
- 2026-04-22GitHub advisory published (GHSA-x9fj-57fh-c8wq)16 days before publication
- 2026-05-08Published by the CNA15:22 UTC
- 2026-05-08CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-x9fj-57fh-c8wq, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @marko/runtime-tags | before 6.0.164 | 6.0.164 |
| npm marko | before 5.38.36 | 5.38.36 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openjsf marko | before 5.38.36fixed in 5.38.36 | 5.38.36 |
| openjsf marko/runtime-tags | before 6.0.164fixed in 6.0.164 | 6.0.164 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41591'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41591'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41591'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41591'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).