CVE-2026-41591

MEDIUM CVSS 3.1: 6.4 EPSS 0.23%
Updated Aug 26, 2026
Marko
Parameter Value
CVSS 6.4 (MEDIUM)
Affected Versions before 6.0.164
Fixed In 5.38.36
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Marko
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Openjsf Marko
cpe:2.3:a:openjsf:marko:*:*:*:*:*:node.js:*:*
— 5.38.36
Openjsf Marko\/Runtime-Tags
cpe:2.3:a:openjsf:marko\/runtime-tags:*:*:*:*:*:node.js:*:*
— 6.0.164