Medium severity · published Feb 10, 2025
CVE-2024-11831
Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript
5.4
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N6
.NET 6.0 on Red Hat Enterprise Linux · Red Hat
All versions, or not specified · source: vendor
C3
Cryostat 3 · Red Hat
All versions, or not specified · source: vendor
LS
Logging Subsystem for Red Hat OpenShift · Red Hat
All versions, or not specified · source: vendor
OL
OpenShift Lightspeed · Red Hat
All versions, or not specified · source: vendor
OP
OpenShift Pipelines · Red Hat
All versions, or not specified · source: vendor
OS
OpenShift Serverless · Red Hat
All versions, or not specified · source: vendor
OS
OpenShift Service Mesh 2 · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.14-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.15-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.16-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.17-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
RH
RHODF-4.18-RHEL-9 · Red Hat
All versions, or not specified · source: vendor
Affected product
N6
.NET 6.0 on Red Hat Enterprise Linux
Red Hat
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-11831
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-11831
vendor-advisory
https://access.redhat.com/errata/RHBA-2025:0304
vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0381
vendor-advisory
https://access.redhat.com/errata/RHSA-2025:10853
vendor-advisory
https://access.redhat.com/errata/RHSA-2025:1334
vendor-advisory
https://access.redhat.com/errata/RHSA-2025:1468
vendor-advisory
https://access.redhat.com/errata/RHSA-2025:21068
