Vulnerability
CVE-2024-11831
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.
53 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
ALSA-2025:0381
Important: .NET 8.0 security update
- CGA-22x9-vp58-8vgv
- CGA-23xr-whwj-jg32
- CGA-257m-jhx6-x3hw
- CGA-2rq2-5pgj-hvp8
- CGA-2v2h-7xcj-hvfj
- CGA-384x-8r9j-872g
- CGA-4476-r27x-8c93
- CGA-4rj9-m262-47qw
- CGA-6349-3frm-36rf
- CGA-69h7-mhv8-7p7r
- CGA-6pmh-27v5-frw7
- CGA-74g6-xjpc-53wv
- CGA-7887-r49v-3mg5
- CGA-8mfh-cm69-pqvp
- CGA-8v96-m79q-j64c
- CGA-8vpg-89cc-9v42
- CGA-9459-xx7c-7j24
- CGA-96v9-p6jg-8xwq
- CGA-99xf-9635-rmpc
- CGA-c666-vmx4-c8m9
- CGA-f549-hj4v-c7w7
- CGA-fv6p-729m-wmrr
- CGA-g54w-gr2j-8g92
- CGA-gw28-v4mg-pg9f
- CGA-h8fm-jv46-7p22
- CGA-hw63-m69j-7xr4
- CGA-hwmw-4ccj-7mhr
- CGA-j3p3-rq8c-3px4
- CGA-jr78-868r-562c
- CGA-mx5c-w564-rv97
- CGA-pq4j-wxrr-2rw5
- CGA-pv3r-wqq8-p63m
- CGA-q2c2-87mg-84hw
- CGA-qf82-cc8g-g3hp
- CGA-qhqv-gh4j-mpx2
- CGA-qr7p-957m-xfjv
- CGA-r7gf-7q6w-q748
- CGA-vhv7-j97p-4v7r
- CGA-w78p-9w6c-jfm5
- CGA-whmx-px89-rr6v
- CGA-wm6m-6vqh-fx2p
- CGA-x3v6-9x5h-j88c
-
DEBIAN-CVE-2024-11831
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…
-
GHSA-76p7-773f-r4q5
Cross-site Scripting (XSS) in serialize-javascript
-
RHBA-2025:0304
Red Hat Bug Fix Advisory: .NET 8.0 bug fix and enhancement update
-
RHSA-2025:0381
Red Hat Security Advisory: .NET 8.0 security update
-
RHSA-2025:21068
Red Hat Security Advisory: Red Hat Ceph Storage 8.1 bug fix update
-
RHSA-2026:1536
Red Hat Security Advisory: Red Hat Ceph Storage 9.0 Security and Enhancement update
-
RHSA-2026:2769
Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security and bug fix updates
-
RHVEX-CVE-2024-11831
npm-serialize-javascript: Cross-site Scripting (XSS) in serialize-javascript
-
SUSEVEX-CVE-2024-11831
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…
-
UBUNTU-CVE-2024-11831
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…
References
- https://access.redhat.com/errata/RHBA-2025:0304
- https://access.redhat.com/errata/RHSA-2025:0381
- https://access.redhat.com/errata/RHSA-2025:10853
- https://access.redhat.com/errata/RHSA-2025:1334
- https://access.redhat.com/errata/RHSA-2025:1468
- https://access.redhat.com/errata/RHSA-2025:21068
- https://access.redhat.com/errata/RHSA-2025:21203
- https://access.redhat.com/errata/RHSA-2025:3870
- https://access.redhat.com/errata/RHSA-2025:4511
- https://access.redhat.com/errata/RHSA-2025:8059
- https://access.redhat.com/errata/RHSA-2025:8078
- https://access.redhat.com/errata/RHSA-2025:8233
- https://access.redhat.com/errata/RHSA-2025:8479
- https://access.redhat.com/errata/RHSA-2025:8512
- https://access.redhat.com/errata/RHSA-2025:8544
- https://access.redhat.com/errata/RHSA-2025:8551
- https://access.redhat.com/errata/RHSA-2025:9294
- https://access.redhat.com/errata/RHSA-2026:1536
- https://access.redhat.com/errata/RHSA-2026:2769
- https://access.redhat.com/errata/RHSA-2026:62115
- https://access.redhat.com/errata/RHSA-2026:83548
- https://access.redhat.com/errata/RHSA-2026:8568
- https://access.redhat.com/security/cve/CVE-2024-11831
- https://bugzilla.redhat.com/show_bug.cgi?id=2312579
- https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e
- https://github.com/yahoo/serialize-javascript/pull/173