devalue@5.2.0 vulnerabilities

Gets the job done when JSON.stringify can't

  • latest version

    5.3.2

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    9 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the devalue package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Prototype Pollution

    devalue is a JSON.stringify, but handles cyclical references, repeated references, undefined, regular expressions, dates, Map and Set.

    Affected versions of this package are vulnerable to Prototype Pollution via the parse function. An attacker can manipulate object prototypes or assign array prototype methods to object properties by crafting malicious payloads, potentially leading to property overwrites or bypassing server-side validation.

    How to fix Prototype Pollution?

    Upgrade devalue to version 5.3.2 or higher.

    <5.3.2