Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq
- https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq
FAQ
What is CVE-2026-41591?
CVE-2026-41591 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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>...
How severe is CVE-2026-41591?
CVE-2026-41591 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-41591?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.