Back to the CVE list
CVE-2024-11831

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

CVSS score

5.4

EPSS probability

%1.1

Risk score

0.1

Published

1 y ago

Official patch verified

Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2024-11831 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

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.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2024-11831 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1redhatserialize-javascript View
2Red HatRed Hat Advanced Cluster Security 4.4 View
3Red HatRed Hat Advanced Cluster Security 4.5 View
4Red HatRed Hat Ceph Storage 7.1 View
5Red HatRed Hat Ceph Storage 8.1 View
6Red HatRed Hat Ceph Storage 9.0 View
7Red HatRed Hat Enterprise Linux 8 View
8Red HatRed Hat Enterprise Linux 9 View
9Red HatRHODF-4.14-RHEL-9 View
10Red HatRHODF-4.14-RHEL-9 View
11Red HatRHODF-4.15-RHEL-9 View
12Red HatRHODF-4.16-RHEL-9 View
13Red HatRHODF-4.16-RHEL-9 View
14Red HatRHODF-4.17-RHEL-9 View
15Red HatRHODF-4.18-RHEL-9 View
16Red HatRHODF-4.18-RHEL-9 View
17Red HatRed Hat Ceph Storage 7.1 View
18Red HatRed Hat Ceph Storage 8 View
19Red HatRed Hat Ceph Storage 8.1 View
20Red HatRed Hat Ceph Storage 9.0 View
21Red HatRed Hat OpenShift Pipelines 1.14.6 View
22Red HatRed Hat OpenShift Pipelines 1.15 View
23Red HatRed Hat OpenShift Pipelines 1.15 View
24Red HatRed Hat OpenShift Pipelines 1.16 View
25Red HatRed Hat OpenShift Pipelines 1.16 View
26Red HatRed Hat OpenShift Pipelines 1.17 View
27Red HatRed Hat OpenShift Pipelines 1.17 View
28Red HatRed Hat OpenShift Pipelines 1.18.0 View
29Red HatRed Hat OpenShift Pipelines 1.19 View
30Red HatCryostat 3 View
31Red HatLogging Subsystem for Red Hat OpenShift View
32Red HatMigration Toolkit for Virtualization View
33Red Hat.NET 6.0 on Red Hat Enterprise Linux View
34Red HatOpenShift Lightspeed View
35Red HatOpenShift Pipelines View
36Red HatOpenShift Serverless View
37Red HatOpenShift Service Mesh 2 View
38Red HatRed Hat 3scale API Management Platform 2 View
39Red HatRed Hat Advanced Cluster Management for Kubernetes 2 View
40Red HatRed Hat Advanced Cluster Security 4 View
41Red HatRed Hat Ansible Automation Platform 2 View
42Red HatRed Hat build of Apache Camel - HawtIO 4 View
43Red HatRed Hat build of Apicurio Registry 2 View
44Red HatRed Hat build of OptaPlanner 8 View
45Red HatRed Hat Ceph Storage 7 View
46Red HatRed Hat Ceph Storage 8 View
47Red HatRed Hat Ceph Storage 9 View
48Red HatRed Hat Data Grid 8 View
49Red HatRed Hat Developer Hub View
50Red HatRed Hat Discovery 1 View
51Red HatRed Hat Enterprise Linux 10 View
52Red HatRed Hat Enterprise Linux 8 View
53Red HatRed Hat Enterprise Linux 9 View
54Red HatRed Hat Fuse 7 View
55Red HatRed Hat Integration Camel K 1 View
56Red HatRed Hat JBoss Enterprise Application Platform 7 View
57Red HatRed Hat JBoss Enterprise Application Platform 8 View
58Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack View
59Red HatRed Hat OpenShift AI (RHOAI) View
60Red HatRed Hat OpenShift Container Platform 3.11 View
61Red HatRed Hat OpenShift Container Platform 4 View
62Red HatRed Hat OpenShift Dev Spaces View
63Red HatRed Hat OpenShift distributed tracing 3 View
64Red HatRed Hat Process Automation 7 View
65Red HatRed Hat Quay 3 View
66Red HatRed Hat Satellite 6 View
67Red HatRed Hat Single Sign-On 7 View
68Red HatRed Hat Trusted Profile Analyzer View
69npmserialize-javascript View
70npmserialize-javascript View
Total affected vendors: 3|Products: 70

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
5.4CVSS V31MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD
5.4CVSS 3.x—CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NMicrosoft MSRC
5.4CVSS V3_1MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NCVE CNA
5.4CVSS 3.x—Vector not publishedGitHub Advisory
0.0CVSS 4.0—Vector not publishedGitHub Advisory

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

1 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

gitlabnpm/serialize-javascript6.0.2

GitLab Advisory düzeltilmiş sürüm: 6.0.2

gitlab

Upgrade to version 6.0.2 or above.

canonical

Upgrade to version 6.0.2 or above.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-11831 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-11831 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsLow
UserGerekiyor

Official Sources and Advisories

CVSS Vector Radar Chart

5.4 / 10
Attack VectorNetworkComplexityLowPrivilegesLowUser Interact.RequiredConfidentialityLowIntegrityLowAvailabilityNone

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow privileges
User Interaction—
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)Low
Availability (Erişilebilirlik)None

Yama doğrulandı

1 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

R
redhat logo
redhat
RH
Red Hat logo
Red Hat
N
npm logo
npm

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2024-11831"