What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Advanced Cluster Security 4.4 4.4.8-2; Red Hat Advanced Cluster Security 4.5 4.5.6-2; Red Hat Ceph Storage 7.1 2:18.2.1-381.el8cp; Red Hat Ceph Storage 8 8; Red Hat Ceph Storage 8.1 2:19.2.1-292.el9cp; Red Hat Ceph Storage 9.0 2:20.1.0-144.el10cp; Red Hat Enterprise Linux 8 0:8.0.112-1.el8_10; Red Hat Enterprise Linux 9 0:8.0.112-1.el9_5; Red Hat OpenShift Pipelines 1.14.6 v1.14.6-1744143767; Red Hat OpenShift Pipelines 1.15 v1.15.3-1746939886; Red Hat OpenShift Pipelines 1.16 v1.16.4-1747983385; Red Hat OpenShift Pipelines 1.17 v1.17.2-1749452800. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-11831 or the next vulnerability affects your stack