CVE-2024-11831
mediumpriority · track · 0EPSS 0.011 · 66 %ileDEEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (31)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-2584Red Hat Enterprise Linux Ceph Storage: Mehrere SchwachstellenDeutsch2025-11-12csaf · cert_bundDE
Ein entfernter, authentisierter oder anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux Ceph Storage ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen und um einen Denial-of-Service-Zustand zu verursachen.
- GHSA-76p7-773f-r4q5Cross-site Scripting (XSS) in serialize-javascript2025-02-10ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (55)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2024-11831cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2312579cnnvd
- https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4ecnnvd
- https://github.com/yahoo/serialize-javascript/pull/173cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-11831cnnvd
- https://access.redhat.com/errata/RHBA-2025:0304enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:0381enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:10853enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan