cve.bz

CVE-2024-11831 Cross-site Scripting

5.4 mediumEPSS 1.2%Fix available

Medium (5.4). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in serialize-javascript 6.0.2.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
1.2% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • serialize-javascript (npm): fixed in 6.0.2
  • Red Hat Red Hat Advanced Cluster Security 4.4: fixed in 4.4.8-2
  • Red Hat Red Hat Advanced Cluster Security 4.5: fixed in 4.5.6-2
  • Red Hat Red Hat Ceph Storage 7.1: fixed in 2:18.2.1-381.el8cp
  • Red Hat Red Hat Ceph Storage 8.1: fixed in 2:19.2.1-292.el9cp
  • Red Hat Red Hat Ceph Storage 9.0: fixed in 2:20.1.0-144.el10cp
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:8.0.112-1.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:8.0.112-1.el9_5
  • Red Hat RHODF-4.14-RHEL-9: fixed in v4.14.18-2
  • Debian, Red Hat, AlmaLinux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-11831 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-11831?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-11831?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-11831 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Advanced Cluster Security 4.44.4.8-2
Red Hat Advanced Cluster Security 4.54.5.6-2
Red Hat Ceph Storage 7.12:18.2.1-381.el8cp
Red Hat Ceph Storage 8.12:19.2.1-292.el9cp
Red Hat Ceph Storage 9.02:20.1.0-144.el10cp
Red Hat Enterprise Linux 80:8.0.112-1.el8_10
Red Hat Enterprise Linux 90:8.0.112-1.el9_5
Red Hat RHODF-4.14-RHEL-9v4.14.18-2
Red Hat RHODF-4.14-RHEL-9v4.14.18-3
Red Hat RHODF-4.15-RHEL-9v4.15.14-2
Red Hat RHODF-4.16-RHEL-9v4.16.10-4
Red Hat RHODF-4.16-RHEL-9v4.16.10-3
Red Hat RHODF-4.17-RHEL-9v4.17.7-2
Red Hat RHODF-4.18-RHEL-9v4.18.2-8
Red Hat RHODF-4.18-RHEL-9v4.18.2-7
Red Hat Ceph Storage 7.11791452477
Red Hat Ceph Storage 88
Red Hat Ceph Storage 8.11787550654
Red Hat Ceph Storage 9.01776359884
Red Hat OpenShift Pipelines 1.14.6v1.14.6-1744143767
Red Hat OpenShift Pipelines 1.15v1.15.3-1746939886
Red Hat OpenShift Pipelines 1.15v1.15.3-1746936251
Red Hat OpenShift Pipelines 1.16v1.16.4-1747983385
Red Hat OpenShift Pipelines 1.16v1.16.4-1747979846
Red Hat OpenShift Pipelines 1.17v1.17.2-1749452800
Red Hat OpenShift Pipelines 1.17v1.17.2-1750066936
Red Hat OpenShift Pipelines 1.18.0v1.18.1-1747749913
Red Hat OpenShift Pipelines 1.19v1.19.0-1752127853

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-76p7-773f-r4q5npmserialize-javascript>=6.0.0 <6.0.26.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-serialize-javascript6.0.0-2+deb12u1DEBIAN-CVE-2024-11831
Debian13, 14node-serialize-javascript6.0.2-1DEBIAN-CVE-2024-11831
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morenode-serialize-javascriptno fix listedUBUNTU-CVE-2024-11831
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-381.el8cpRHSA-2026:2769
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-381.el9cpRHSA-2026:2769
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-292.el9cpRHSA-2025:21068
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more0:8.0.12-1.el8_10RHSA-2025:0381
Red Hatenterprise_linux:8::appstreamdotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more0:8.0.112-1.el8_10RHSA-2025:0381
Red Hatenterprise_linux:8::crbdotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo, dotnet-apphost-pack-8.0-debuginfo0:8.0.12-1.el8_10RHSA-2025:0381
Red Hatenterprise_linux:8::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.112-1.el8_10RHSA-2025:0381
Red Hatenterprise_linux:9::appstreamdotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more0:8.0.12-1.el9_5RHBA-2025:0304
Red Hatenterprise_linux:9::appstreamdotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more0:8.0.112-1.el9_5RHBA-2025:0304
Red Hatenterprise_linux:9::crbdotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo, dotnet-apphost-pack-8.0-debuginfo0:8.0.12-1.el9_5RHBA-2025:0304
Red Hatenterprise_linux:9::crbdotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more0:8.0.112-1.el9_5RHBA-2025:0304
AlmaLinux8dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 5 more8.0.12-1.el8_10ALSA-2025:0381
AlmaLinux8dotnet-sdk-8.0, dotnet-sdk-dbg-8.0, dotnet-templates-8.0 and 1 more8.0.112-1.el8_10ALSA-2025:0381

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-main-rhel8:4.4.8-2Fixed 2025-02-13RHSA-2025:1468
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-main-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Ceph Storage 7.1ceph-2:18.2.1-381.el8cpFixed 2026-02-17RHSA-2026:2769
Red Hat Ceph Storage 8.1ceph-2:19.2.1-292.el9cpFixed 2025-11-12RHSA-2025:21068
Red Hat Ceph Storage 9.0ceph-2:20.1.0-144.el10cpFixed 2026-01-29RHSA-2026:1536
Red Hat Enterprise Linux 8dotnet8.0-0:8.0.112-1.el8_10Fixed 2025-01-16RHSA-2025:0381
Red Hat Enterprise Linux 9dotnet8.0-0:8.0.112-1.el9_5Fixed 2025-01-14RHBA-2025:0304
RHODF-4.14-RHEL-9odf4/ocs-client-console-rhel9:v4.14.18-2Fixed 2025-06-04RHSA-2025:8551
RHODF-4.14-RHEL-9odf4/odf-console-rhel9:v4.14.18-3Fixed 2025-06-04RHSA-2025:8551
RHODF-4.14-RHEL-9odf4/odf-multicluster-console-rhel9:v4.14.18-2Fixed 2025-06-04RHSA-2025:8551
Cryostat 3serialize-javascriptWill not fix
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
.NET 6.0 on Red Hat Enterprise Linuxrh-dotnet60-dotnetOut of support scope
OpenShift Lightspeedopenshift-lightspeed-beta/lightspeed-console-plugin-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-api-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-db-migration-rhel8Will not fix
OpenShift Serverlessserialize-javascriptWill not fix
OpenShift Service Mesh 2openshift-service-mesh/kiali-ossmc-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Affected
94 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-11831.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON