CVE-2026-41591Openjsf Marko
Medium 6.4
Follow: this CVE · Openjsf · Openjsf Marko We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.4
- EPSS
- —
- Auth required
- Yes
- Published
- May 8, 2026
- Updated
- Aug 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Marko.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @marko/runtime-tags |
< 6.0.164 |
6.0.164 |
npm install @marko/runtime-tags@6.0.164 |
| npm | marko |
< 5.38.36 |
5.38.36 |
npm install marko@5.38.36 |
Per OSV / GitHub Advisories (GHSA-x9fj-57fh-c8wq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openjsf | marko | < 5.38.36 |
| openjsf | marko/runtime-tags | < 6.0.164 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Patch