CVE-2024-11831: serialize-javascript · Cross-site Scripting (XSS)
Affects serialize-javascriptSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 6.0.2 when convenient.
Data as of 1 Dec 2026, 04:45 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 5.4 |
|---|
- Patch
- Available – fixed in 6.0.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade serialize-javascript to 6.0.2.
Patches and advisories
- access.redhat.com/errata/RHSA-2026:8568 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:83548 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:83515 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62115 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61939 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2769 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:1536 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:9294 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8551 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8544 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8479 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmserialize-javascript | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in serialize-javascript version 6.0.2. Users and organizations should upgrade to this fixed version to remediate the vulnerability. No alternative mitigations meeting Red Hat Product Security criteria are currently available. Applying the official fix is the recommended and effective mitigation.
Description
A Cross-site Scripting (XSS) vulnerability exists in the serialize-javascript npm module due to improper sanitization of certain inputs like regex or other JavaScript object types. This flaw allows attackers to inject malicious code that executes when deserialized by a web browser. The issue affects versions from 6.0.0 up to but not including 6.0.2. It is critical in scenarios where serialized data is sent to web clients, potentially compromising website or web application security. A fix is available in version 6.0.2.
References
- nvd.nist.gov/vuln/detail/CVE-2024-11831 (opens in a new tab)
- github.com/yahoo/serialize-javascript/pull/173 (opens in a new tab)
- github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e (opens in a new tab)
- github.com/yahoo/serialize-javascript/commit/7f3ac252d86b802454cb43782820aea2e0f6dc25 (opens in a new tab)
- github.com/yahoo/serialize-javascript (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2312579 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-11831 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8568 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:83548 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:83515 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62115 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61939 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2769 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:1536 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:9294 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8551 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8544 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8479 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8233 (opens in a new tab)