Reflected cross-site scripting (XSS) In node-serialize-javascript
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 6.0.0-2+deb12u1 | ||
debian 14 | 6.0.2-1 | ||
debian 13 | 6.0.2-1 | ||
npm | 6.0.2 | ||
rpm rhel9 | 0:8.0.112-1.el9_5 | ||
rpm rhel8 | - | - | |
rpm rhel9 | - | - | |
rpm rhel8 | - | - | |
rpm rhel9 | - | - | |
rpm rhel8 | 0:8.0.112-1.el8_10 |
Aliases
References