serialize-javascript
Affected
- introduced
6.0.0, fixed6.0.2(semver)
Fixed versions
6.0.2
Fix
- Fixed version
6.0.2npm install [email protected]
Advisory
Also known as: CVE-2024-11831
Cross-site Scripting (XSS) in serialize-javascript
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.
Medium Basis: The source's own band: MODERATE
6.0.0, fixed 6.0.2 (semver)6.0.2
6.0.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0