Back to CVE records
Medium 5.4Published Feb 10, 2025

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

Updated under an hour ago ()

Does this affect you?

It affects Red Hat Advanced Cluster Security 4.4 and 33 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
5.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Deferred
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Red Hat Red Hat Advanced Cluster Security 4.4
redhat:advanced_cluster_security
from 4.4.8-2 not affected
CNA record
from 2:18.2.1-381.el8cp not affected
CNA record
Red Hat Red Hat Enterprise Linux 8
redhat:enterprise_linux
from 0:8.0.112-1.el8_10 not affected
CNA record
Red Hat RHODF-4.14-RHEL-9
redhat:openshift_data_foundation
from v4.14.18-2 not affected
CNA record
from v1.14.6-1744143767 not affected
CNA record
Red Hat Cryostat 3
redhat:cryostat
3
CNA record
5
CNA record
Red Hat Migration Toolkit for Virtualization
redhat:migration_toolkit_virtualization
2
CNA record
6.0
CNA record
Red Hat OpenShift Lightspeed
redhat:openshift_lightspeed
1
CNA record
1
CNA record
2
CNA record
2
CNA record
2
CNA record
Red Hat Red Hat Ansible Automation Platform 2
redhat:ansible_automation_platform
2
CNA record
4
CNA record
2
CNA record
All versions
CNA record
Red Hat Red Hat Data Grid 8
redhat:jboss_data_grid
8
CNA record
1
CNA record
1
CNA record
Red Hat Red Hat Fuse 7
redhat:jboss_fuse
7
CNA record
1
CNA record
Red Hat Red Hat JBoss Enterprise Application Platform 7
redhat:jboss_enterprise_application_platform
7
CNA record
Versions not stated
CNA record
Versions not stated
CNA record
3.11
CNA record
Red Hat Red Hat OpenShift Dev Spaces
redhat:openshift_devspaces
3
CNA record
Red Hat Red Hat OpenShift distributed tracing 3
redhat:openshift_distributed_tracing
3
CNA record
Red Hat Red Hat Process Automation 7
redhat:jboss_enterprise_bpms_platform
7
CNA record
3
CNA record
6
CNA record
Red Hat Red Hat Single Sign-On 7
redhat:red_hat_single_sign_on
7
CNA record
Red Hat Red Hat Trusted Profile Analyzer
redhat:trusted_profile_analyzer
1
CNA record

References

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat
  • issue-tracking, x-refsource-redhat

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.