CVE-2026-41591CWE-79cross-site-scripting

CVE-2026-41591

Medium · published May 8, 2026

CVSS v3.1
6.4
EPSS
0%
Percentile
17.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00265 · 17.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-05-08T20:16Z
Affected products (2)
ProductVersionsFixed in
openjsf/marko< 5.38.365.38.36
openjsf/marko\/runtime-tags< 6.0.1646.0.164
References (2)
EPSS history
Timeline
  • 08 MAY 15:22Z
    Marko: XSS via case-insensitive script/style closing tag bypass in runtime HTML escaping
    cvelistv5