class-transformer@0.1.1 vulnerabilities

Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors

  • latest version

    0.5.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the class-transformer 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
    Prototype Pollution

    class-transformer is a Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors.

    Affected versions of this package are vulnerable to Prototype Pollution the classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

    How to fix Prototype Pollution?

    Upgrade class-transformer to version 0.3.1 or higher.

    <0.3.1