node-serialize-javascript: Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions
CVE-2026-97711 is fixed in node-serialize-javascript on 1 platform by DEBIAN-CVE-2026-97711 (version 7.1.2+~5.0.4-1), released October 1, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| node-serialize-javascript · Debian 14 | 7.1.2+~5.0.4-1 | DEBIAN-CVE-2026-97711 | Oct 1, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.