{"id":"EUVD-2026-89027","enisaUuid":"6fb10fd5-bf61-30cc-9257-d7ba74736a5d","description":"Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. From 7.1.1 until 7.1.2, function values serialized by serialize-javascript are not fully protected against script-closing tags in attacker-influenced function source because SCRIPT_CLOSE_REGEXP can consume a second closing tag inside one match. When the serialized function is embedded in a script element, the surviving closing tag terminates the element early and causes the remaining output to be parsed as HTML, enabling cross-site scripting in the page origin. Only function values are affected; ordinary data values and options.isJSON output are unaffected. This issue is fixed in version 7.1.2.","datePublished":"Sep 29, 2026, 4:00:33 PM","dateUpdated":"Sep 29, 2026, 4:53:35 PM","baseScore":2.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-gfhx-hw2g-v5hg\nhttps://github.com/yahoo/serialize-javascript/commit/2bdbaaff9cb8a4639135eb24cfcd383d3fefb534\nhttps://github.com/yahoo/serialize-javascript/releases/tag/v7.1.2\n","aliases":"CVE-2026-97711\nGHSA-gfhx-hw2g-v5hg\n","assigner":"GitHub_M","epss":0.32,"enisaIdProduct":[{"id":"06214d85-935a-3dd1-a733-4f32735d488d","product":{"name":"serialize-javascript","vendor":{"name":"yahoo"}},"product_version":"7.1.1, \u003c 7.1.2"}],"enisaIdVendor":[{"id":"b1599ef6-0a36-3f98-983e-ed657cf7af2d","vendor":{"name":"yahoo"}}],"enisaIdVulnerability":[{"id":"91403798-9485-31f5-b4d1-003984cebb30","vulnerability":{"id":"CVE-2026-97711","description":"Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. From 7.1.1 until 7.1.2, function values serialized by serialize-javascript are not fully protected against script-closing tags in attacker-influenced function source because SCRIPT_CLOSE_REGEXP can consume a second closing tag inside one match. When the serialized function is embedded in a script element, the surviving closing tag terminates the element early and causes the remaining output to be parsed as HTML, enabling cross-site scripting in the page origin. Only function values are affected; ordinary data values and options.isJSON output are unaffected. This issue is fixed in version 7.1.2.","datePublished":"Sep 29, 2026, 4:00:33 PM","dateUpdated":"Sep 29, 2026, 4:53:35 PM","status":"PUBLISHED","baseScore":2.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-gfhx-hw2g-v5hg\nhttps://github.com/yahoo/serialize-javascript/commit/2bdbaaff9cb8a4639135eb24cfcd383d3fefb534\nhttps://github.com/yahoo/serialize-javascript/releases/tag/v7.1.2\n","enisa_id":"EUVD-2026-89027\n","assigner":"GitHub_M","epss":0.32,"dataProcessed":"Nov 15, 2026, 7:17:10 AM","vulnerabilityProduct":[{"id":"ba9bea7d-9a02-3fee-abaf-5c727d7c0be5","product":{"name":"serialize-javascript","vendor":{"name":"yahoo"}},"product_version":"7.1.1, \u003c 7.1.2"}],"vulnerabilityVendor":[{"id":"7e638117-81f8-38fa-b859-733aed0d3b10","vendor":{"name":"yahoo"}}]}},{"id":"a6de4082-1c7e-3b5a-872b-923668558f88","vulnerability":{"id":"GHSA-gfhx-hw2g-v5hg","description":"Serialize JavaScript: Cross-site scripting (XSS) via unescaped \u003c/script\u003e in serialized function bodies","datePublished":"Sep 30, 2026, 3:40:05 PM","dateUpdated":"Sep 30, 2026, 3:40:06 PM","baseScore":0.0,"references":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-gfhx-hw2g-v5hg\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-97711\nhttps://github.com/yahoo/serialize-javascript/commit/2bdbaaff9cb8a4639135eb24cfcd383d3fefb534\nhttps://github.com/yahoo/serialize-javascript\nhttps://github.com/yahoo/serialize-javascript/releases/tag/v7.1.2\n","enisa_id":"EUVD-2026-89027\n","aliases":"GHSA-gfhx-hw2g-v5hg\nCVE-2026-97711\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:56:10 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}