Security mailing lists by PureSourceCode

CVE-2026-41591

MEDIUM 6.4CVSS 3.1

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

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.

Published
8 May 2026
Last modified
26 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-x9fj-57fh-c8wq
Sources
NVDJSONOSV GHSA-x9fj-57fh-c8wqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openjsf marko
cpe:2.3:a:openjsf:marko:*:*:*:*:*:node.js:*:*
< 5.38.36 5.38.36
NVD openjsf marko/runtime-tags
cpe:2.3:a:openjsf:marko\/runtime-tags:*:*:*:*:*:node.js:*:*
< 6.0.164 6.0.164
OSV npm marko < 5.38.36 5.38.36
OSV npm @marko/runtime-tags < 6.0.164 6.0.164

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.