p PatchFirst

CVE-2024-11831

CVE-2024-11831 · Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

CVSS 5.4 · Medium · EPSS 1.1% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

Original sources

Check your server →