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
Configurations
No configuration.
History
24 Apr 2025, 13:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
13 Feb 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
11 Feb 2025, 22:15
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
References |
|
10 Feb 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-02-10 16:15
Updated : 2025-04-24 13:15
NVD link : CVE-2024-11831
Mitre link : CVE-2024-11831
CVE.ORG link : CVE-2024-11831
JSON object : View
Products Affected
No product.
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')