CVE-2024-11831

MEDIUM CVSS 3.1: 5.4 EPSS 1.16%
Updated Nov 26, 2026
Red Hat
Parameter Value
CVSS 5.4 (MEDIUM)
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

red hat:red hat build of optaplanner 8 red hat:red hat advanced cluster security 4.4 red hat:.net 6.0 on red hat enterprise linux red hat:red hat enterprise linux 8 red hat:red hat openshift pipelines 1.17 red hat:red hat openshift pipelines 1.14.6 red hat:red hat advanced cluster security 4.5 red hat:red hat openshift distributed tracing 3 red hat:red hat jboss enterprise application platform 7 red hat:red hat integration camel k 1 red hat:red hat ansible automation platform 2 red hat:red hat fuse 7 red hat:red hat openshift pipelines 1.19 red hat:red hat ceph storage 8 red hat:red hat ceph storage 9 red hat:red hat advanced cluster management for kubernetes 2 red hat:openshift lightspeed red hat:rhodf-4.17-rhel-9 red hat:openshift pipelines red hat:rhodf-4.16-rhel-9 red hat:red hat jboss enterprise application platform expansion pack red hat:red hat 3scale api management platform 2 red hat:red hat process automation 7 red hat:red hat trusted profile analyzer red hat:cryostat 3 red hat:red hat openshift pipelines 1.16 red hat:red hat ceph storage 8.1 red hat:red hat openshift container platform 3.11 red hat:red hat quay 3 red hat:red hat jboss enterprise application platform 8 red hat:red hat developer hub red hat:red hat ceph storage 9.0 red hat:red hat openshift container platform 4 red hat:red hat discovery 1 red hat:rhodf-4.15-rhel-9 red hat:red hat openshift pipelines 1.18.0 red hat:openshift serverless red hat:red hat build of apache camel - hawtio 4 red hat:red hat openshift ai (rhoai) red hat:red hat openshift pipelines 1.15 red hat:rhodf-4.14-rhel-9 red hat:red hat single sign-on 7 red hat:rhodf-4.18-rhel-9 red hat:red hat data grid 8 red hat:red hat build of apicurio registry 2 red hat:red hat enterprise linux 9 red hat:logging subsystem for red hat openshift red hat:red hat ceph storage 7.1 red hat:openshift service mesh 2 red hat:red hat satellite 6 red hat:red hat advanced cluster security 4 red hat:migration toolkit for virtualization red hat:red hat enterprise linux 10 red hat:red hat openshift dev spaces red hat:red hat ceph storage 7

References 26

https://access.redhat.com/errata/RHBA-2025:0304
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:0381
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:10853
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:1334
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:1468
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:21068
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:21203
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:3870
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:4511
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8059
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8078
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8233
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8479
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8512
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8544
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:8551
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2025:9294
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:1536
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:2769
secalert@redhat.com
https://access.redhat.com/security/cve/CVE-2024-11831
secalert@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2312579
secalert@redhat.com
https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac146070…
secalert@redhat.com
https://github.com/yahoo/serialize-javascript/pull/173
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:8568
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:62115
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:83548
secalert@redhat.com