class-validator@0.3.0 vulnerabilities

Decorator-based property validation for classes.

  • latest version

    0.14.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    10 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the class-validator 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
    • L
    Improper Input Validation

    class-validator is a decorator-based property validation for classes.

    Affected versions of this package are vulnerable to Improper Input Validation via bypassing the input validation in validate(), as certain internal attributes can be overwritten via a conflicting name.

    NOTE: There is an optional forbidUnknownValues parameter that can be used to reduce the risk of this bypass.

    How to fix Improper Input Validation?

    Upgrade class-validator to version 0.14.0 or higher.

    <0.14.0