5.4

CVE-2024-11831: Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript

Deferred
AliasesUBUNTU-CVE-2024-11831DEBIAN-CVE-2024-11831GHSA-76p7-773f-r4q5
Published 10-02-2025Last modified 01-11-2026

Vulnerability summary

CVE-2024-11831 is a medium (CVSS 5.4) vulnerability in node-serialize-javascript. EPSS estimates a 1.12% chance of exploitation in the next 30 days, higher than 66.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 2

Timeline

  1. 10-02-2025
    PublishedVulnerability first disclosed.
  2. 01-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.12%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.12% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard19 products
  • arangodb-3.11< 3.11.14.5-r4
  • arangodb-3.12< 3.12.9.4-r9
  • drupal-11.3< 11.3.13-r3
  • opensearch-dashboards-2< 2.19.3-r0 | < 2.19.4-r0
  • opensearch-dashboards-2-fips< 2.19.0-r0
Debian1 product
  • node-serialize-javascript< 6.0.0-2+deb12u1 | < 6.0.2-1
Npm1 product
  • serialize-javascript≥ 6.0.0, < 6.0.2
Ubuntu1 product
  • node-serialize-javascriptAll versions (No fix recorded)

4 vendors · 22 products

References

36 links
Show all 36 references