Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 6.0.2.
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.
Affected
Vendors, products and packages with version ranges
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in JBoss, strongest first
Embed
A live severity badge for an advisory, README or ticket