← Back to CVE List

CVE-2024-11831

Published: 2025-02-10T16:15Z
Last Modified: 2025-02-13T19:15Z
Source: MITRE CVE List
License: MITRE-CVE-TOS
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. > MITRE Terms of Use apply – see LICENSE‑MITRE.txt