{"id":"UBUNTU-CVE-2026-115754","details":"serialize-javascript from 7.0.1 before 7.1.3 contains a cross-site scripting vulnerability that allows attackers to break out of HTML script elements by ending serialized function source text with an unescaped \u003c/script. Attackers controlling a function's source via a spoofed toString() can combine surrounding output delimiters and later values to inject live markup such as img onerror handlers.","modified":"2026-10-28T17:50:38Z","published":"2026-10-23T14:17:00Z","upstream":["CVE-2026-115754"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-115754"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-115754"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/pull/235"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/releases/tag/v7.1.3"},{"type":"REPORT","url":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via-unescaped-script-in-function-body"}],"affected":[{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1-2","6.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.0.0-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115754.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-serialize-javascript","binary_version":"6.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115754.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.4+~5.0.4-1","7.0.5+~5.0.4-1","7.0.7+~5.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-serialize-javascript","binary_version":"7.0.7+~5.0.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115754.json"}},{"package":{"name":"node-serialize-javascript","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.2-1","7.0.4+~5.0.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.4+~5.0.4-1","binary_name":"node-serialize-javascript"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115754.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"},{"type":"Ubuntu","score":"medium"}]}