Skip to main content
VulnerabilityPublished Updated

CVE-2024-11831: Node serialize javascript · A flaw was found in npm-serialize-javascript

Affects node-serialize-javascriptSource GCVE Database

0
Compare
Authoritative record:CVE-2024-11831· Medium 5.4

Not known to be exploited · CVSS 5.4 Medium.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.15.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 2025

  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 23 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 25.10node-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=questingOther threatsAffected
  • =6.0.1-1
  • =6.0.2-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

A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.

References

Community reviews

Loading reviews…