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.

Fixed
LOW (2.5)
  • T

    Tim Bastin detected CVE-2024-11831 with a risk of 0.5

  • logo

    System updated the risk assessment to 0.42

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment to 2.54

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment to 0.42

    System recalculated raw risk assessment

  • T

    Tim Bastin fixed CVE-2024-11831

  • logo

    System updated the risk assessment to 2.54

    System recalculated raw risk assessment

  • T

    Tim Bastin updated the risk assessment from 2.54 to 3.05

    Confidentiality Requirement updated: low -> high

  • T

    Tim Bastin updated the risk assessment from 3.05 to 2.54

    Confidentiality Requirement updated: high -> low

  • logo

    System updated the risk assessment from 2.54 to 2.5

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment from 2.5 to 2.54

    System recalculated raw risk assessment

Reopen this vulnerability

You can reopen this vuln, if you plan to mitigate the risk now, or accepted this vuln by accident.

Last calculated at:

Affected component

Logo von npm serialize-javascript

Installed version:
4.0.0
Fixed in:
6.0.2

Quick Fix

Update all Dependencies
Update only serialize-javascript
Copyright © 2025 L3montree GmbH and the DevGuard Contributors. All rights reserved. Version 667098114b5ef45c7830e7aa599604fa65eb818f