CVE-2024-11831 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the npm package 'serialize-javascript', affecting versions prior to 6.0.2. The issue arises because the module fails to properly sanitize certain inputs, such as regular expressions and other JavaScript object types. This lack of sanitization allows attackers to inject malicious code that can be executed when the data is deserialized by a web browser. The vulnerability is particularly critical in environments where serialized data is sent to web clients, as it could compromise the security of the website or web application using this package.
Users can upgrade to 'serialize-javascript' version 6.0.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 10, 2025CISA-ADP
Assessed Feb 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| npm-serialize-javascript | All versions |
CPE
Remediation
| |
| Red Hat Advanced Cluster Security | < 4.5.6 (semver) < 4.4.8 (semver) |
CPE
Remediation
| |
| Red Hat OpenShift Data Foundation | < 4.18 < 4.16 < 4.15 < 4.14 |
CPE
Remediation
| |
| Red Hat Enterprise Linux | < 9.5 < 9.6 |
CPE
Remediation
| |
Change History
52 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Oct 30, 2026 | CVE Modified | [email protected] |
| Oct 27, 2026 | CVE Modified | [email protected] |
| Oct 22, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 15, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Oct 9, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Oct 2, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 6, 2026 | CVE Modified | [email protected] |
| Sep 5, 2026 | CVE Modified | [email protected] |
| Sep 4, 2026 | CVE Modified | [email protected] |
| Sep 4, 2026 | CVE Modified | [email protected] |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 15, 2026 | CVE Modified | [email protected] |
| Aug 13, 2026 | CVE Modified | [email protected] |
| Aug 12, 2026 | CVE Modified | [email protected] |
| Aug 11, 2026 | CVE Modified | [email protected] |
| Aug 9, 2026 | CVE Modified | [email protected] |
| Aug 9, 2026 | CVE Modified | [email protected] |
| Aug 2, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | [email protected] |
| Jul 1, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 17, 2026 | CVE Modified | [email protected] |
| Feb 17, 2026 | CVE Modified | [email protected] |
| Jan 29, 2026 | CVE Modified | [email protected] |
| Nov 28, 2025 | CVE Modified | [email protected] |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Nov 25, 2025 | CVE Modified | [email protected] |
| Nov 12, 2025 | CVE Modified | [email protected] |
| Nov 12, 2025 | CVE Modified | [email protected] |
| Jun 4, 2025 | CVE Modified | [email protected] |
| Jun 4, 2025 | CVE Modified | [email protected] |
| Jun 4, 2025 | CVE Modified | [email protected] |
| May 21, 2025 | CVE Modified | [email protected] |
| May 6, 2025 | CVE Modified | [email protected] |
| Apr 24, 2025 | CVE Modified | [email protected] |
| Feb 13, 2025 | CVE Modified | [email protected] |
| Feb 11, 2025 | CVE Modified | [email protected] |
| Feb 10, 2025 | New CVE Received | [email protected] |
Volerion