Skip to main content
VulnerabilityPublished Updated

CVE-2024-11831: serialize-javascript · Cross-site Scripting

Affects serialize-javascriptSource GCVE Database

0

Not known to be exploited · CVSS 5.4 Medium.

Data as of 27 Oct 2026, 06:16 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmserialize-javascriptpkg:npm/serialize-javascriptOther threatsAffected
  • =6.0
Fixed in–

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

AI-suggested

Patch status for serialize-javascript version 6.0 is not confirmed in the provided vendor advisory. Users should check the official npm package repository or vendor advisories for updates or patches addressing this vulnerability. Until a patch is available, avoid using version 6.0 in environments where serialized data is sent to web clients or implement additional input sanitization and output encoding to mitigate XSS risks.

Description

CVE-2024-11831 is a cross-site scripting (XSS) vulnerability in the serialize-javascript npm package version 6.0. The flaw arises because the module does not properly sanitize certain inputs such as regex or other JavaScript object types, allowing malicious code injection. This vulnerability is critical in scenarios where serialized data is sent to web clients and deserialized by browsers, potentially compromising web application security.

References

Community reviews

Loading reviews…