Answer in brief
CVE-2024-11831 records a Medium severity (CVSS 5.4) vulnerability in Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript. The current sources do not mark it as known exploited. The current feed maps serialize-javascript (npm), serialize-javascript (npm). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.4. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps serialize-javascript (npm), serialize-javascript (npm). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| serialize-javascriptnpm | >=6.0.0,<6.0.2 | 6.0.2 |
| serialize-javascriptnpm | >=6.0.0 <6.0.2 | 6.0.2 |
Published upstream
Feb 10, 2025
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Sep 8, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Jun 25, 2026
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.
Quoted source text, attributed separately from HOL analysis.