devalue@1.0.2 vulnerabilities

Gets the job done when JSON.stringify can't

  • latest version

    5.1.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    2 months 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
    • M
    Cross-site Scripting (XSS)

    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 Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions.

    How to fix Cross-site Scripting (XSS)?

    Upgrade devalue to version 2.0.1 or higher.

    <2.0.1
    • H
    Cross-site Scripting (XSS)

    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 Cross-site Scripting (XSS). Server-rendered HTML will have unescaped route parameters in it, allowing to break the page or inject JS code into it when an object key contains unsafe characters.

    How to fix Cross-site Scripting (XSS)?

    Upgrade devalue to version 1.1.1 or higher.

    <1.1.1