, , 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.", "datePublished": "2026-05-08T15:22:50Z", "dateModified": "2026-05-08T21:26:58Z", "keywords": "CVE-2026-41591, vulnerability, CVE, security, marko, marko-js", "about": { "@type": "SoftwareApplication", "name": "marko", "applicationCategory": "SecurityApplication", "operatingSystem": "All" } }
CVE-2026-41591 MEDIUM

CVE-2026-41591: Marko: XSS via case-insensitive script/style closing tag bypass in runtime HTML escaping

Vendor Marko-Js
Product marko
Weakness CWE-79 · XSS
Published May 8, 2026
Last update May 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 8, 2026 CVE published
May 8, 2026 Record updated