CVE-2024-11831

Aliases:GHSA-76p7-773f-r4q5
Advisory lineage Upstream: 0 Downstream: 7
Deferred
Published: 10 Feb 2025, 15:27
Last modified:02 Jun 2026, 17:51

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.4 MEDIUM
v3.1 (cve.org)
EPSS Score
1.13% LOW
1% probability -0.54%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

10 Feb 2025, 15:27
Published
Vulnerability first disclosed
02 Jun 2026, 17:51
Last Modified
Vulnerability 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

  • v3.1MEDIUMScore: 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS Trends

Current EPSS score: 1.13% Percentile: 79%

Techniques & Countermeasures

  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • Npmserialize-javascript

    ≥ 6.0.0, < 6.0.2

References (27)