{"id":"CVE-2024-11831","title":"A flaw was found in npm-serialize-javascript","summary":"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 mali…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":"Red Hat","product":"serialize-javascript","affected":["serialize-javascript >= 6.0 < 6.0.2","advanced-cluster-security/rhacs-main-rhel8 (all versions)","advanced-cluster-security/rhacs-main-rhel8 (all versions)","ceph (all versions)","ceph (all versions)","ceph (all versions)","dotnet8.0 (all versions)","dotnet8.0 (all versions)","odf4/ocs-client-console-rhel9 (all versions)","odf4/odf-console-rhel9 (all versions)","odf4/odf-multicluster-console-rhel9 (all versions)","odf4/ocs-client-console-rhel9 (all versions)","odf4/odf-console-rhel9 (all versions)","odf4/odf-multicluster-console-rhel9 (all versions)","odf4/ocs-client-console-rhel9 (all versions)","odf4/odf-console-rhel9 (all versions)","odf4/odf-multicluster-console-rhel9 (all versions)","odf4/ocs-client-console-rhel9 (all versions)","odf4/odf-console-rhel9 (all versions)","odf4/odf-multicluster-console-rhel9 (all versions)","odf4/ocs-client-console-rhel9 (all versions)","odf4/odf-console-rhel9 (all versions)","odf4/odf-multicluster-console-rhel9 (all versions)","rhceph/rhceph-8-rhel9 (all versions)","rhceph/rhceph-8-rhel9 (all versions)","rhceph/rhceph-9-rhel9 (all versions)","openshift-pipelines/pipelines-hub-ui-rhel8 (all versions)","openshift-pipelines/pipelines-console-plugin-rhel8 (all versions)","openshift-pipelines/pipelines-hub-ui-rhel8 (all versions)","openshift-pipelines/pipelines-console-plugin-rhel8 (all versions)","openshift-pipelines/pipelines-hub-ui-rhel8 (all versions)","openshift-pipelines/pipelines-console-plugin-rhel8 (all versions)","openshift-pipelines/pipelines-hub-ui-rhel8 (all versions)","openshift-pipelines/pipelines-console-plugin-rhel9 (all versions)","openshift-pipelines/pipelines-console-plugin-rhel9 (all versions)","serialize-javascript (all versions)","openshift-logging/kibana6-rhel8 (all versions)","migration-toolkit-virtualization/mtv-console-plugin-rhel9","rh-dotnet60-dotnet","openshift-lightspeed-beta/lightspeed-console-plugin-rhel9 (all versions)","openshift-pipelines/pipelines-hub-api-rhel8 (all versions)","openshift-pipelines/pipelines-hub-db-migration-rhel8 (all versions)","openshift-pipelines/pipelines-hub-ui-rhel8 (all versions)","serialize-javascript (all versions)","openshift-service-mesh/kiali-ossmc-rhel8 (all versions)","openshift-service-mesh/kiali-rhel8 (all versions)","3scale-amp-system-container (all versions)","rhacm2/console-rhel8","advanced-cluster-security/rhacs-central-db-rhel8","advanced-cluster-security/rhacs-rhel8-operator"],"patched":["ceph_storage_9_0_tools","rhacs_4_4_for_rhel 8","rhacs_4_5_for_rhel 8","ceph_storage_7_1_tools","ceph_storage_8_1_tools","rhodf_4_14_for_rhel 9","rhodf_4_15_for_rhel 9","rhodf_4_16_for_rhel 9","rhodf_4_17_for_rhel 9","rhodf_4_18_for_rhel 9","enterprise_linux_appstream_v_8","enterprise_linux_appstream_v_9","enterprise_linux_crb_v_8","codeready_linux_builder_v_9","ceph_storage 8.1","ceph_storage 8","ceph_storage 9.0","openshift_pipelines 1.14.6","openshift_pipelines 1.15","openshift_pipelines 1.16","openshift_pipelines 1.17","openshift_pipelines 1.18.0","openshift_pipelines 1.19"],"published":"2025-02-10","updated":"2026-09-08","sourceUpdated":"2026-09-08T16:17:47.957","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-11831","references":[{"url":"https://access.redhat.com/errata/RHBA-2025:0304","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:0381","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:10853","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:1334","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:1468","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:21068","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:21203","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:3870","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:4511","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8059","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8078","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8233","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8479","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8512","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8544","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:8551","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2025:9294","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:1536","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:2769","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:62115","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:8568","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2024-11831","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312579","label":"secalert@redhat.com"},{"url":"https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e","label":"secalert@redhat.com"},{"url":"https://github.com/yahoo/serialize-javascript/pull/173","label":"secalert@redhat.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11831.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-11831"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11831"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-10T17:08:31.160473Z"},"epss":0.01122,"epssPercentile":0.64803,"ingestedAt":"2026-06-29T13:24:34.153Z","slug":"CVE-2024-11831","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:1536** · Red Hat · fixed in: Red Hat Ceph Storage 9.0 Tools · released 2026-01-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:1536)\n- **RHSA-2025:1468** · Red Hat · fixed in: RHACS 4.4 for RHEL 8 · released 2025-02-13 · [advisory](https://access.redhat.com/errata/RHSA-2025:1468)\n- **RHSA-2025:1334** · Red Hat · fixed in: RHACS 4.5 for RHEL 8 · released 2025-02-11 · [advisory](https://access.redhat.com/errata/RHSA-2025:1334)\n- **RHSA-2026:2769** · Red Hat · fixed in: Red Hat Ceph Storage 7.1 Tools · released 2026-02-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:2769)\n- **RHSA-2025:21068** · Red Hat · fixed in: Red Hat Ceph Storage 8.1 Tools · released 2025-11-12 · [advisory](https://access.redhat.com/errata/RHSA-2025:21068)\n- **RHSA-2025:8551** · Red Hat · fixed in: RHODF 4.14 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8551)\n- **RHSA-2025:8544** · Red Hat · fixed in: RHODF 4.15 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8544)\n- **RHSA-2025:8479** · Red Hat · fixed in: RHODF 4.16 for RHEL 9 · released 2025-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2025:8479)\n- **RHSA-2025:8059** · Red Hat · fixed in: RHODF 4.17 for RHEL 9 · released 2025-05-21 · [advisory](https://access.redhat.com/errata/RHSA-2025:8059)\n- **RHSA-2025:4511** · Red Hat · fixed in: RHODF 4.18 for RHEL 9 · released 2025-05-06 · [advisory](https://access.redhat.com/errata/RHSA-2025:4511)\n- **RHSA-2025:0381** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2025-01-16 · [advisory](https://access.redhat.com/errata/RHSA-2025:0381)\n- **Red Hat VEX** · Moderate · affected: .NET 6.0 on Red Hat Enterprise Linux, Cryostat 3, Logging Subsystem for Red Hat OpenShift, OpenShift Lightspeed, OpenShift Pipelines, OpenShift Serverless, … · no fix planned: .NET 6.0 on Red Hat Enterprise Linux, Red Hat Enterprise Linux 9, Cryostat 3, OpenShift Pipelines, … · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11831.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}