Skip to main content
VulnerabilityPublished Updated

CVE-2026-97711: Node serialize javascript · Serialize JavaScript serializes JavaScript values to a superset of JSON

Affects node-serialize-javascriptSource GCVE Database

0
Compare
Authoritative record:CVE-2026-97711· Low 2.3

Not known to be exploited · CVSS 2.3 Low · fixed in 7.1.2 : update node-serialize-javascript when convenient.

Data as of 24 Nov 2026, 22:12 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 7.1.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=stonkingOther threatsAffected
  • =7.0.4+~5.0.4-1
  • =7.0.5+~5.0.4-1
  • =7.0.7+~5.0.4-1
Fixed in–
Ubuntu 26.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=resoluteOther threatsAffected
  • =6.0.2-1
  • =7.0.4+~5.0.4-1
Fixed in–
Ubuntu 24.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=nobleOther threatsAffected
  • =6.0.1-1
Fixed in–
Ubuntu 22.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=jammyOther threatsAffected
  • =5.0.1-2
  • =6.0.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…