A AegiFlow
MEDIUMCVSS 5.4EPSS 1.1%

CVE-2024-11831

CVE-2024-11831 updated by NVD

Published
2025-02-10
Modified
2026-09-10
EPSS percentile
63%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
npmserialize-javascript6.0.2

Remediation: Upgrade to 6.0.2 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.