CVE-2026-41591

Medium

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.

SeverityMedium
CVSS6.4
Exploit probability—
ProductOpenjsf Marko
PublishedMay 8, 2026
First seenMay 8, 2026

How to fix

Update
  • openjsf marko5.38.36 or later
  • openjsf marko\/runtime-tags6.0.164 or later
  • marko5.38.36 or later
  • @marko/runtime-tags6.0.164 or later

Affected products

ProductAffected versionsFixed in
openjsf markov < 5.38.365.38.36
openjsf marko\/runtime-tagsv < 6.0.1646.0.164
markonpmv < 5.38.365.38.36
@marko/runtime-tagsnpmv < 6.0.1646.0.164

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-41591 · Openjsf Marko · Dark Radar