{"id":"CVE-2026-41591","sourceIdentifier":"security-advisories@github.com","published":"2026-05-08T16:16:11.167","lastModified":"2026-08-26T19:16:01.883","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"marko-js","product":"marko","versions":[{"version":"marko < 5.38.36","status":"affected"},{"version":"@marko/runtime-tags < 6.0.164","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","baseScore":6.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.1,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-08T17:08:43.350843Z","id":"CVE-2026-41591","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:openjsf:marko:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.38.36","matchCriteriaId":"60D716B5-7A18-4E7F-8C4E-F9972CAD5670"},{"vulnerable":true,"criteria":"cpe:2.3:a:openjsf:marko\\/runtime-tags:*:*:*:*:*:node.js:*:*","versionEndExcluding":"6.0.164","matchCriteriaId":"C2874484-F77A-413F-B073-EAB1F5E19CCF"}]}]}],"references":[{"url":"https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]}]}