CVE-2024-11831 MEDIUM

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

Vendor Red Hat
Product Cryostat 3
Weakness CWE-79 · XSS
Published February 10, 2025
Last update August 23, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 10, 2025 CVE published
August 23, 2026 Record updated

Related vulnerabilities

04Related CVE