LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2024-11831 is an XSS weakness in serialize-javascript 6.0. If attacker-controlled data is serialized into content delivered to a browser, malicious JavaScript may execute in a user's session, potentially exposing data or enabling actions as that user.

Executive priority

Treat this as a targeted, moderate-priority remediation. Accelerate action for internet-facing or privileged interfaces that serialize user-controlled data into browser content. Broader emergency response is not supported because active exploitation is unconfirmed and availability impact is not expected.

Technical view

The module insufficiently sanitizes certain inputs, including regular expressions and other JavaScript object types. When affected serialized output reaches a browser, injected code may execute. CVSS 3.1 is 5.4: network-accessible, low complexity, low privileges, user interaction required, changed scope, and limited confidentiality and integrity impact.

Likely exposure

Prioritize applications using serialize-javascript 6.0 that place serialized, attacker-influenced objects into browser responses. The bundle also identifies specific builds across Red Hat Advanced Cluster Security, Ceph Storage, RHEL, and OpenShift Data Foundation; confirm exposure through exact package and build inventories.

Exploitation context

The supplied record does not identify active exploitation, and the CVE is not listed as KEV. Exploitation requires attacker-controlled input to reach vulnerable serialization and a user to process the resulting content in a browser. Public exploit availability is not established by the provided sources.

Researcher notes

The record maps this CVE to numerous Red Hat product builds, but the supplied material does not explain every dependency path or provide an upstream fixed version. Validate reachability, not merely package presence. Preserve the distinction between a bundled affected component and an exploitable browser-facing data flow.

Mitigation direction

  • Inventory serialize-javascript 6.0 and the exact Red Hat product builds identified in the record.
  • Check current package and Red Hat guidance for supported fixes; the bundle does not specify a fixed upstream version.
  • Apply applicable vendor updates or errata after testing affected applications and platforms.
  • Until remediated, prevent untrusted object data from entering JavaScript serialized into browser responses.

Validation and detection

  • Inspect direct and transitive dependencies for serialize-javascript 6.0.
  • Match installed Red Hat package versions against the affected builds and applicable errata.
  • Trace whether attacker-controlled regular expressions or objects reach browser-delivered serialization.
  • After remediation, confirm vulnerable versions are absent and review rendered responses for unsafe serialized input.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-11831 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
25Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.4CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N2.32.7redhat

Vulnerability scoring details

Base CVSS 3.1 score

5.4Medium
CVSS 3.1 vector shape for CVE-2024-11831Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Made public.

  2. Source timelineredhat

    Reported to Red Hat.

  3. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorserialize-javascriptserialize-javascript, 6.0Listed
Red HatRed Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-main-rhel8, 4.4.8-2affected
Red HatRed Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-main-rhel8, 4.5.6-2affected
Red HatRed Hat Ceph Storage 7.1ceph, 2:18.2.1-381.el8cpaffected
Red HatRed Hat Ceph Storage 8.1ceph, 2:19.2.1-292.el9cpaffected
Red HatRed Hat Ceph Storage 9.0ceph, 2:20.1.0-144.el10cpaffected
Red HatRed Hat Enterprise Linux 8dotnet8.0, 0:8.0.112-1.el8_10affected
Red HatRed Hat Enterprise Linux 9dotnet8.0, 0:8.0.112-1.el9_5affected
Red HatRHODF-4.14-RHEL-9odf4/ocs-client-console-rhel9, v4.14.18-2affected
Red HatRHODF-4.14-RHEL-9odf4/odf-console-rhel9, v4.14.18-3affected
Red HatRHODF-4.14-RHEL-9odf4/odf-multicluster-console-rhel9, v4.14.18-2affected
Red HatRHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9, v4.15.14-2affected
Red HatRHODF-4.15-RHEL-9odf4/odf-console-rhel9, v4.15.14-2affected
Red HatRHODF-4.15-RHEL-9odf4/odf-multicluster-console-rhel9, v4.15.14-2affected
Red HatRHODF-4.16-RHEL-9odf4/ocs-client-console-rhel9, v4.16.10-4affected
Red HatRHODF-4.16-RHEL-9odf4/odf-console-rhel9, v4.16.10-4affected
Red HatRHODF-4.16-RHEL-9odf4/odf-multicluster-console-rhel9, v4.16.10-3affected
Red HatRHODF-4.17-RHEL-9odf4/ocs-client-console-rhel9, v4.17.7-2affected
Red HatRHODF-4.17-RHEL-9odf4/odf-console-rhel9, v4.17.7-2affected
Red HatRHODF-4.17-RHEL-9odf4/odf-multicluster-console-rhel9, v4.17.7-2affected
Red HatRHODF-4.18-RHEL-9odf4/ocs-client-console-rhel9, v4.18.2-8affected
Red HatRHODF-4.18-RHEL-9odf4/odf-console-rhel9, v4.18.2-7affected
Red HatRHODF-4.18-RHEL-9odf4/odf-multicluster-console-rhel9, v4.18.2-8affected
Red HatRed Hat Ceph Storage 8rhceph/rhceph-8-rhel9, 8affected
Red HatRed Hat Ceph Storage 9rhceph/rhceph-9-rhel9, 1776359884affected
Red HatRed Hat OpenShift Pipelines 1.14.6openshift-pipelines/pipelines-hub-ui-rhel8, v1.14.6-1744143767affected
Red HatRed Hat OpenShift Pipelines 1.15openshift-pipelines/pipelines-console-plugin-rhel8, v1.15.3-1746939886affected
Red HatRed Hat OpenShift Pipelines 1.15openshift-pipelines/pipelines-hub-ui-rhel8, v1.15.3-1746936251affected
Red HatRed Hat OpenShift Pipelines 1.16openshift-pipelines/pipelines-console-plugin-rhel8, v1.16.4-1747983385affected
Red HatRed Hat OpenShift Pipelines 1.16openshift-pipelines/pipelines-hub-ui-rhel8, v1.16.4-1747979846affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.