NetSight
medium5.4

CVE-2024-11831

Cross-site Scripting (XSS) in serialize-javascript

Impact

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

EcosystemPackageAffectedFixed in
npmserialize-javascript>= 6.0.0, < 6.0.26.0.2

Affected products

VendorProductAffected versions
Red HatRHODF-4.18-RHEL-9
Versions patch: v4.18.2-7, patch: v4.18.2-8
Red HatRed Hat Ceph Storage 7.1
Versions patch: 2:18.2.1-381.el8cp, patch: 1791452477
Red HatRHODF-4.14-RHEL-9
Versions patch: v4.14.18-3, patch: v4.14.18-2
Red HatRed Hat OpenShift Pipelines 1.17
Versions patch: v1.17.2-1749452800, patch: v1.17.2-1750066936
Red HatRed Hat Ceph Storage 8.1
Versions patch: 2:19.2.1-292.el9cp, patch: 1787550654
Red HatRed Hat Enterprise Linux 8
Version patch: 0:8.0.112-1.el8_10
Red HatRHODF-4.16-RHEL-9
Versions patch: v4.16.10-3, patch: v4.16.10-4
Red HatRed Hat Enterprise Linux 9
Version patch: 0:8.0.112-1.el9_5
Red HatRed Hat OpenShift Pipelines 1.14.6
Version patch: v1.14.6-1744143767
Red HatRHODF-4.15-RHEL-9
Version patch: v4.15.14-2
Red HatRed Hat OpenShift Pipelines 1.16
Versions patch: v1.16.4-1747983385, patch: v1.16.4-1747979846
Red HatRed Hat Ceph Storage 9.0
Versions patch: 2:20.1.0-144.el10cp, patch: 1776359884

Weakness classification

References