Vulnerabilities/

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

Severity:
Medium

Description

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.

Recommendation

Update the marko package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
marko
Anything's wrong? Let us know Last updated on May 13, 2026