En resumen
- CVE-2024-11831 es una vulnerabilidad MEDIO (CVSS 5.4) que afecta a serialize-javascript.
- Probabilidad de explotación en los próximos 30 días (EPSS): 1.1%, mayor que el 66.2% de las vulnerabilidades.
- Solución: actualizar a 6.0.2 o posterior.
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.
NVD 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.
Más vulnerabilidades de serialize-javascript
Ver todo →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free