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.
References
| Link | Resource |
|---|---|
| https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq | Exploit Mitigation Patch Vendor Advisory |
| https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq | Exploit Mitigation Patch Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-05-08 16:16
Updated : 2026-08-26 19:16
NVD link : CVE-2026-41591
Mitre link : CVE-2026-41591
CVE.ORG link : CVE-2026-41591
JSON object : View
Products Affected
openjsf
- marko
- marko\/runtime-tags
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
