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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 1.1% (30-day exploitation probability)+10
- Technical severity (medium)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Npm Serialize-javascript: fixed in version 6.0.2 — github.com (GitHub Security Advisories)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Red Hat Cryostat 3, Red Hat Logging Subsystem For Red Hat Openshift, Red Hat Openshift Dev Spaces…).
- Apply the fixed version or the patch documented under Remediation.
- Exploitation requires user interaction: tighten email/web filtering and warn affected users.
- Search available logs for exploit probes matching the vulnerability class (cross-site scripting), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Red Hat | Cryostat 3 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Logging Subsystem For Red Hat Openshift | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Openshift Dev Spaces | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Openshift Lightspeed | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Openshift Pipelines | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Openshift Serverless | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | OpenShift Service Mesh 2 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat 3scale API Management Platform 2 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Advanced Cluster Security 4.4 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Advanced Cluster Security 4.5 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ansible Automation Platform 2 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat build of Apicurio Registry 2 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat build of OptaPlanner 8 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 7 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 7.1 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 8 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 8.1 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Ceph Storage 9.0 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Data Grid 8 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Discovery 1 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Enterprise Linux 8 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Enterprise Linux 9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Fuse 7 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift AI (RHOAI) | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Container Platform 3.11 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift distributed tracing 3 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.14.6 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.15 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.16 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.17 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.18.0 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat OpenShift Pipelines 1.19 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Process Automation 7 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Quay 3 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Single Sign-On 7 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | Red Hat Trusted Profile Analyzer | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | RHODF-4.14-RHEL-9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | RHODF-4.15-RHEL-9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | RHODF-4.16-RHEL-9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | RHODF-4.17-RHEL-9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | RHODF-4.18-RHEL-9 | versions not specified by the source | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Npm | Serialize-javascript | ≥ 6.0.0 and < 6.0.2 | Vulnerable | GitHub Security Advisories |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 5.4 | CVSS 3.1 | Medium | 2.3 | 2.7 | secalert@redhat.com via NIST National Vulnerability Database |
| 5.4 | CVSS 3.1 | Medium | — | — | GitHub, Inc. via GitHub Security Advisories |
| 5.4 | CVSS 3.1 | Medium | — | — | redhat via CVE Program (cve.org) e CISA ADP |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (score shown at the top: secalert@redhat.com) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 15, 2026 · 3 reading(s) · max 1.12%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
- Monitor CSP violation reports and script payloads in reflected parameters.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products removed · 5
- Affected products added · red hat/logging subsystem for red hat openshift, red hat/openshift lightspeed, red hat/openshift pipelines, red hat/open
- Fix documented
- Affected products added · npm/serialize-javascript
- Affected products added · red hat/red hat advanced cluster security 4.4, red hat/red hat advanced cluster security 4.5, red hat/red hat ceph stora
- SSVC assessment updated
- Record published
- CVSS changed · 5.4
- Source status changed · → Deferred
- Record created in this database
- 2025
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 2× References added · Oct 13, 2026 – Oct 15, 2026
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
29 on the record
- access.redhat.com/errata/RHSA-2025:8479
- github.com/yahoo/serialize-javascript/pull/173
- access.redhat.com/security/cve/CVE-2024-11831
- access.redhat.com/errata/RHSA-2025:9294
- access.redhat.com/errata/RHSA-2025:8544
- bugzilla.redhat.com/show_bug.cgi
- access.redhat.com/errata/RHSA-2025:4511
- access.redhat.com/errata/RHSA-2025:8059
- github.com/yahoo/serialize-javascript/commit/7f3ac252d86b802454cb43782820aea2e0f
- access.redhat.com/errata/RHSA-2025:0381
- access.redhat.com/errata/RHSA-2025:8078
- github.com/advisories/GHSA-76p7-773f-r4q5
- nvd.nist.gov/vuln/detail/CVE-2024-11831
- access.redhat.com/errata/RHSA-2025:21068
- access.redhat.com/errata/RHSA-2026:2769
- access.redhat.com/errata/RHSA-2026:62115
- access.redhat.com/errata/RHSA-2025:8512
- access.redhat.com/errata/RHSA-2025:10853
- access.redhat.com/errata/RHSA-2025:21203
- access.redhat.com/errata/RHSA-2025:8551
- access.redhat.com/errata/RHSA-2025:8233
- access.redhat.com/errata/RHSA-2026:1536
- access.redhat.com/errata/RHSA-2025:3870
- access.redhat.com/errata/RHSA-2025:1334
- access.redhat.com/errata/RHBA-2025:0304
- access.redhat.com/errata/RHSA-2026:83548
- access.redhat.com/errata/RHSA-2025:1468
- github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891
- access.redhat.com/errata/RHSA-2026:8568
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-104715 Cifs-utils: mount.cifs credential-file option injection allows local privilege boundary bypass 3h
- High CVE-2026-84823 Org.wildfly.core: wildfly: path traversal in take-snapshot discloses the server configuration to the monitor role 10h
- Medium CVE-2026-109131 Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl) 15h
- High CVE-2026-85634 Wildfly-core: wildfly-core: deployer rbac role privilege escalation via path traversal in deployment name 17h
- High CVE-2026-92982 Ansible-operator-plugins: ansible operator plugins: arbitrary code execution via jinja2 template injection 18h
- Medium CVE-2026-110924 Openssh: openssh: gssapi delegated credentials can be stored after a failed authentication 20h
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2024-11831 is "Npm-serialize-javascript: cross-site scripting (xss) in serialize-javascript", rated Medium. It affects Cryostat 3 (Red Hat); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 5.4 describes technical severity. EPSS 1.12% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.