Skip to main content
No exploitation reportedFix available

CVE-2024-11831

No exploitation reported by the sources we read.

  • Published2025-02-10
  • Fixed in6.0.2
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-02-1016:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-11831?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-11831?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
serialize-javascript
BranchAffectedFixed in
6.0≥ 6.0.0, < 6.0.26.0.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • RHSA-2026:2769 Red Hat Product Security262 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security and bug fix updates

  • RHSA-2026:1536 Red Hat Product Security442 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage 9.0 Security and Enhancement update

  • RHSA-2025:8551 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.18 Bug Fix Update

  • RHSA-2025:8544 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.14 Bug Fix Update

  • RHSA-2025:8479 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: RHODF-4.16-RHEL-9 security update

  • RHSA-2025:8059 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.7 Bug Fix Update

3 more advisories

Full record on NVD

Fix

  1. Update serialize-javascript to 6.0.2
  2. Vendor fix Red Hat Product Security RHSA-2026:2769 · 262 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 For supported configurations, refer to: https://access.redhat.com/articles/1548993
  3. Vendor fix Red Hat Product Security RHSA-2026:1536 · 442 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 For supported configurations, refer to: https://access.redhat.com/articles/1548993
  4. Vendor fix Red Hat Product Security RHSA-2025:8551 · 9 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2025:8479 · 9 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2025:8059 · 9 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  7. Vendor fix Red Hat Product Security RHSA-2025:1468 · 3 productsIf you are using an earlier version of RHACS 4.4, you are advised to upgrade to this patch release 4.4.8.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2025-02-10
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.15.4read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score1.1 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
2025-02-10
Last Modified
2026-10-22
NVD status
Deferred

Frequently asked questions

What is CVE-2024-11831?

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.

Is CVE-2024-11831 actively exploited?

Active exploitation of CVE-2024-11831 has not been confirmed. Its EPSS score was 1.1% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-11831?

CVE-2024-11831 has a CVSS v3 base score of 5.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Running serialize-javascript? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month