ADVISORIES

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 in Red Hat

  • RHBA-2025:0304

    Red Hat Bug Fix Advisory: .NET 8.0 bug fix and enhancement update

    CVE-2024-11831CVE-2025-21172CVE-2025-21173CVE-2025-21176 Red Hat Updated 27 November 2026
  • RHSA-2025:0381

    Red Hat Security Advisory: .NET 8.0 security update

    CVE-2024-11831CVE-2025-21172CVE-2025-21173CVE-2025-21176 Red Hat Updated 27 November 2026
  • RHSA-2025:21068

    Red Hat Security Advisory: Red Hat Ceph Storage 8.1 bug fix update

    CVE-2024-11831CVE-2024-47866 Red Hat Updated 27 November 2026
  • RHSA-2026:1536

    Red Hat Security Advisory: Red Hat Ceph Storage 9.0 Security and Enhancement update

    CVE-2023-25153CVE-2024-11831CVE-2024-31884CVE-2025-30204 Red Hat Updated 27 November 2026
  • RHSA-2026:2769

    Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security and bug fix updates

    CVE-2021-23358CVE-2022-34749CVE-2024-11831CVE-2024-31884 Red Hat Updated 27 November 2026
  • RHVEX-CVE-2024-11831

    npm-serialize-javascript: Cross-site Scripting (XSS) in serialize-javascript

    Moderate CVE-2024-11831 Red Hat Updated 26 November 2026

References