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.

Severity
MEDIUM
CVSS v3
6.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
0.227%
chance of exploitation in the next 30 days
higher than 13.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2026-05-08

Timeline

  1. 2026-04-22GitHub advisory published (GHSA-x9fj-57fh-c8wq)16 days before publication
  2. 2026-05-08Published by the CNA15:22 UTC
  3. 2026-05-08CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-x9fj-57fh-c8wq, affected packages:

PackageVulnerable versionsFixed in
npm @marko/runtime-tagsbefore 6.0.1646.0.164
npm markobefore 5.38.365.38.36

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
openjsf markobefore 5.38.36fixed in 5.38.365.38.36
openjsf marko/runtime-tagsbefore 6.0.164fixed in 6.0.1646.0.164

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources