class-validator@0.3.0 vulnerabilities

Decorator-based property validation for classes.

  • latest version

    0.14.3

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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