CVE-2024-11831: serialize-javascript · Cross-site Scripting
Affects serialize-javascriptSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium.
Data as of 27 Oct 2026, 06:16 UTC
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
Weaponised: 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmserialize-javascriptpkg:npm/serialize-javascriptOther threats | 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
Patch status for serialize-javascript version 6.0 is not confirmed in the provided vendor advisory. Users should check the official npm package repository or vendor advisories for updates or patches addressing this vulnerability. Until a patch is available, avoid using version 6.0 in environments where serialized data is sent to web clients or implement additional input sanitization and output encoding to mitigate XSS risks.
Description
CVE-2024-11831 is a cross-site scripting (XSS) vulnerability in the serialize-javascript npm package version 6.0. The flaw arises because the module does not properly sanitize certain inputs such as regex or other JavaScript object types, allowing malicious code injection. This vulnerability is critical in scenarios where serialized data is sent to web clients and deserialized by browsers, potentially compromising web application security.
References
- access.redhat.com/errata/RHBA-2025:0304 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:0381 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:10853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:1334 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:1468 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:21068 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:21203 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:3870 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:4511 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8059 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8078 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8233 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8479 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8544 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:8551 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:9294 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:1536 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:2769 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62115 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:83548 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8568 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-11831 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2312579 (opens in a new tab)
- github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e (opens in a new tab)
- github.com/yahoo/serialize-javascript/pull/173 (opens in a new tab)