CVE-2024-11831 Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
46 packages: 7 fixed, 3 partially fixed, 28 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-tensorboard(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner reaper(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| redhat 3scale | All versions | No fix listed | No fix yet |
| redhat ansible automation platform | = 2; All versions | No fix listed | No fix yet |
| redhat cryostat | All versions | No fix listed | No fix yet |
| redhat discovery | All versions | No fix listed | No fix yet |
| redhat jboss bpms | All versions | No fix listed | No fix yet |
| redhat jboss data grid | All versions | No fix listed | No fix yet |
| redhat jboss fuse | All versions | No fix listed | No fix yet |
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat logging | All versions | No fix listed | No fix yet |
| redhat openshift | = 4; All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat openshift devspaces | = 3; All versions | No fix listed | No fix yet |
| redhat openshift distributed tracing | = 3; All versions | No fix listed | No fix yet |
| redhat openshift lightspeed | All versions | No fix listed | No fix yet |
| redhat optaplanner | All versions | No fix listed | No fix yet |
| redhat quay | All versions | No fix listed | No fix yet |
| redhat red hat single sign on | All versions | No fix listed | No fix yet |
| redhat serverless | All versions | No fix listed | No fix yet |
| redhat service mesh | All versions | No fix listed | No fix yet |
| redhat service registry | All versions | No fix listed | No fix yet |
| redhat trusted profile analyzer | All versions | No fix listed | No fix yet |
| ubuntu/node-serialize-javascript(Ubuntu 22.04) | = 5.0.1-2; = 6.0.0-1; All versions | No fix listed | No fix yet |
| ubuntu/node-serialize-javascript(Ubuntu 24.04) | = 6.0.1-1; All versions | No fix listed | No fix yet |
| ubuntu/node-serialize-javascript(Ubuntu 25.10) | = 6.0.1-1; = 6.0.2-1; All versions | No fix listed | No fix yet |
| ubuntu/node-serialize-javascript(Ubuntu 26.04) | = 6.0.2-1; = 7.0.4+~5.0.4-1; All versions | No fix listed | No fix yet |
| ubuntu/node-serialize-javascript(Ubuntu 26.10) | = 7.0.4+~5.0.4-1; = 7.0.5+~5.0.4-1; = 7.0.7+~5.0.4-1; All versions | No fix listed | No fix yet |
| redhat ceph storage | < 2:18.2.1-381.el8cp; < 2:19.2.1-292.el9cp; < 2:20.1.0-144.el10cp; < 8 +6 more | 2:18.2.1-381.el8cp, 2:19.2.1-292.el9cp, 2:20.1.0-144.el10cp, 8, 1776359884, 1787550654, 1791452477 | Partially fixed |
| redhat enterprise linux | < 0:8.0.112-1.el8_10; < 0:8.0.112-1.el9_5; = 8; = 9 +2 more | 0:8.0.112-1.el8_10, 0:8.0.112-1.el9_5 | Partially fixed |
… and 16 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner reaper(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux python-tensorboard(Azure Linux:3.0) | All versions | No fix listed |
| debian/node-serialize-javascript(Debian:12) | < 6.0.0-2+deb12u1 | 6.0.0-2+deb12u1 |
| debian/node-serialize-javascript(Debian:12) | = 6.0.0-2 | No fix listed |
| debian/node-serialize-javascript(Debian:13) | < 6.0.2-1 | 6.0.2-1 |
| debian/node-serialize-javascript(Debian:14) | < 6.0.2-1 | 6.0.2-1 |
| npm serialize-javascript(npm) | >= 6.0.0, < 6.0.2 | 6.0.2 |
| ubuntu/node-serialize-javascript(Ubuntu:22.04) | All versions | No fix listed |
| serialize-javascript | >= 6.0, < 6.0.2 | 6.0.2 |
| redhat advanced cluster security | < 4.4.8-2 | 4.4.8-2 |
| redhat advanced cluster security | < 4.5.6-2 | 4.5.6-2 |
| redhat ceph storage | < 2:18.2.1-381.el8cp | 2:18.2.1-381.el8cp |
| redhat ceph storage | < 2:19.2.1-292.el9cp | 2:19.2.1-292.el9cp |
| redhat ceph storage | < 2:20.1.0-144.el10cp | 2:20.1.0-144.el10cp |
| redhat enterprise linux | < 0:8.0.112-1.el8_10 | 0:8.0.112-1.el8_10 |
| redhat enterprise linux | < 0:8.0.112-1.el9_5 | 0:8.0.112-1.el9_5 |
| redhat openshift data foundation | < v4.14.18-2 | v4.14.18-2 |
| redhat openshift data foundation | < v4.14.18-3 | v4.14.18-3 |
| redhat openshift data foundation | < v4.15.14-2 | v4.15.14-2 |
| redhat openshift data foundation | < v4.16.10-4 | v4.16.10-4 |
| redhat openshift data foundation | < v4.16.10-3 | v4.16.10-3 |
| redhat openshift data foundation | < v4.17.7-2 | v4.17.7-2 |
| redhat openshift data foundation | < v4.18.2-8 | v4.18.2-8 |
| redhat openshift data foundation | < v4.18.2-7 | v4.18.2-7 |
| redhat ceph storage | < 1791452477 | 1791452477 |
Show 69 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ceph storage | < 8 | 8 |
| redhat ceph storage | < 1787550654 | 1787550654 |
| redhat ceph storage | < 1776359884 | 1776359884 |
| redhat openshift pipelines | < v1.14.6-1744143767 | v1.14.6-1744143767 |
| redhat openshift pipelines | < v1.15.3-1746939886 | v1.15.3-1746939886 |
| redhat openshift pipelines | < v1.15.3-1746936251 | v1.15.3-1746936251 |
| redhat openshift pipelines | < v1.16.4-1747983385 | v1.16.4-1747983385 |
| redhat openshift pipelines | < v1.16.4-1747979846 | v1.16.4-1747979846 |
| redhat openshift pipelines | < v1.17.2-1749452800 | v1.17.2-1749452800 |
| redhat openshift pipelines | < v1.17.2-1750066936 | v1.17.2-1750066936 |
| redhat openshift pipelines | < v1.18.1-1747749913 | v1.18.1-1747749913 |
| redhat openshift pipelines | < v1.19.0-1752127853 | v1.19.0-1752127853 |
| redhat cryostat | All versions | No fix listed |
| redhat logging | All versions | No fix listed |
| redhat migration toolkit virtualization | = 2 | No fix listed |
| redhat rhel dotnet | = 6.0 | No fix listed |
| redhat openshift lightspeed | All versions | No fix listed |
| redhat openshift pipelines | All versions | No fix listed |
| redhat serverless | All versions | No fix listed |
| redhat service mesh | All versions | No fix listed |
| redhat 3scale | All versions | No fix listed |
| redhat acm | = 2 | No fix listed |
| redhat advanced cluster security | = 4 | No fix listed |
| redhat ansible automation platform | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat apache camel hawtio | = 4 | No fix listed |
| redhat service registry | All versions | No fix listed |
| redhat optaplanner | All versions | No fix listed |
| redhat ceph storage | = 7 | No fix listed |
| redhat ceph storage | All versions | No fix listed |
| redhat ceph storage | = 8 | No fix listed |
| redhat jboss data grid | All versions | No fix listed |
| redhat rhdh | = 1 | No fix listed |
| redhat discovery | All versions | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat jboss fuse | All versions | No fix listed |
| redhat camel k | = 1 | No fix listed |
| redhat jboss enterprise application platform | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift devspaces | = 3 | No fix listed |
| redhat openshift devspaces | All versions | No fix listed |
| redhat openshift distributed tracing | = 3 | No fix listed |
| redhat openshift distributed tracing | All versions | No fix listed |
| redhat jboss bpms | All versions | No fix listed |
| redhat quay | All versions | No fix listed |
| redhat satellite | = 6 | No fix listed |
| redhat red hat single sign on | All versions | No fix listed |
| redhat trusted profile analyzer | All versions | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:22.04) | = 5.0.1-2 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:22.04) | = 6.0.0-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:24.04) | = 6.0.1-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:25.10) | = 6.0.1-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:25.10) | = 6.0.2-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.10) | = 7.0.4+~5.0.4-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.10) | = 7.0.5+~5.0.4-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.10) | = 7.0.7+~5.0.4-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.04) | = 6.0.2-1 | No fix listed |
| ubuntu/node-serialize-javascript(Ubuntu:26.04) | = 7.0.4+~5.0.4-1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2024-11831 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com issue-tracking patch
- access.redhat.com issue-tracking vdb-entry
- RHBZ#2312579 issue-tracking
- RHSA-2025:1334 vendor-advisory
- RHSA-2025:1468 vendor-advisory
- github.com patch
- RHBA-2025:0304 vendor-advisory
- RHSA-2025:4511 vendor-advisory
- RHSA-2025:8059 vendor-advisory
- RHSA-2025:8479 vendor-advisory
- RHSA-2025:8544 vendor-advisory
- RHSA-2025:8551 vendor-advisory
- RHSA-2025:21068 vendor-advisory
- RHSA-2025:21203 vendor-advisory
- RHSA-2025:9294 vendor-advisory
- RHSA-2025:8078 vendor-advisory
- RHSA-2025:10853 vendor-advisory
- RHSA-2025:8512 vendor-advisory
- RHSA-2025:8233 vendor-advisory
- RHSA-2025:3870 vendor-advisory
- RHSA-2025:0381 vendor-advisory
- RHSA-2026:1536 vendor-advisory
- RHSA-2026:2769 vendor-advisory
- RHSA-2026:8568 vendor-advisory
- RHSA-2026:62115 vendor-advisory
- RHSA-2026:83548 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2025-4485 third-party-advisory