6.4Mittel

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

marko-js marko Veröffentlicht: (vor 6 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-79

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
marko-js marko marko < 5.38.36, @marko/runtime-tags < 6.0.164
openjsf marko < 5.38.36
openjsf marko/runtime-tags < 6.0.164

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:openjsf:marko:*:*:*:*:*:node.js:*:* < 5.38.36
  • cpe:2.3:a:openjsf:marko\/runtime-tags:*:*:*:*:*:node.js:*:* < 6.0.164