org.webjars.npm:class-validator@0.8.5 vulnerabilities

  • latest version

    0.14.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Improper Input Validation

org.webjars.npm: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 org.webjars.npm:class-validator to version 0.14.0 or higher.

[,0.14.0)