{"id":"CVE-2026-115754","title":"serialize-javascript: serialize-javascript: Cross-site scripting via unescaped function serialization (CVE-2026-115754)","summary":"A flaw was found in serialize-javascript. This vulnerability allows an attacker to conduct cross-site scripting (XSS) attacks by supplying crafted function source text containing unescaped script closing tags. When serialized into a web pa…","severity":"medium","cvss":4.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","cvssSource":"vendor","cwe":"CWE-79","vendor":"Red Hat","product":"Red Hat Hardened Images","affected":["hardened_images"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T20:10:01+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115754.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115754.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-115754"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2559880"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-115754"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115754"},{"url":"https://github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61"},{"url":"https://github.com/yahoo/serialize-javascript/pull/235"},{"url":"https://github.com/yahoo/serialize-javascript/releases/tag/v7.1.3"},{"url":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v"},{"url":"https://www.vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via-unescaped-script-in-function-body"}],"tags":["csaf","vex","red-hat","cve.org"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:48:53.139109Z"},"ingestedAt":"2026-10-23T14:28:08.714Z","epss":0.00231,"epssPercentile":0.13906,"slug":"CVE-2026-115754","body":"## Overview\n\nA flaw was found in serialize-javascript. This vulnerability allows an attacker to conduct cross-site scripting (XSS) attacks by supplying crafted function source text containing unescaped script closing tags. When serialized into a web page, the malicious payload can prematurely close the enclosing script element and execute arbitrary code in the context of the victim's browser session.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Hardened Images · no fix planned: Red Hat Hardened Images · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115754.json)\n\n**serialize-javascript: serialize-javascript: Cross-site scripting via unescaped function serialization** — rated Moderate by Red Hat. Released 2026-10-23.\n\nAffected:\n\n- Red Hat Hardened Images\n\nNo fix planned:\n\n- Red Hat Hardened Images\n\nNot affected:\n\n- Red Hat Hardened Images\n\n## Remediation\n\nAffected","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}