{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41591","id":"CVE-2026-41591","title":"Marko: XSS via case-insensitive script/style closing tag bypass in runtime HTML escaping","description":"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","descriptionLong":"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":"2026-05-08T15:22:50.990Z","updated":"2026-10-28T02:31:11.023581351Z","reserved":"2026-04-21T14:15:21.960Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["marko-js marko"],"affectedProducts":[{"vendor":"marko-js","product":"marko","defaultStatus":null,"versions":[{"version":"marko < 5.38.36","status":"affected"},{"version":"@marko/runtime-tags < 6.0.164","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"marko","purl":"pkg:npm/marko","ranges":["<5.38.36"],"fixed":["5.38.36"],"advisory":"GHSA-x9fj-57fh-c8wq"},{"ecosystem":"npm","name":"@marko/runtime-tags","purl":"pkg:npm/%40marko/runtime-tags","ranges":["<6.0.164"],"fixed":["6.0.164"],"advisory":"GHSA-x9fj-57fh-c8wq"}],"cwes":["CWE-79"],"aliases":["GHSA-x9fj-57fh-c8wq"],"references":[{"url":"https://github.com/marko-js/marko/security/advisories/GHSA-x9fj-57fh-c8wq","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41591.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41591","tags":["advisory"]},{"url":"https://github.com/marko-js/marko","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00227,"epssPercentile":0.13514,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41591","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41591","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41591","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x9fj-57fh-c8wq","ok":true,"note":"GHSA-x9fj-57fh-c8wq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-41591","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}