Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/class-validator@0.13.1
purl pkg:npm/class-validator@0.13.1
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-cv8f-wc36-eyb3
Aliases:
CVE-2019-18413
GHSA-fj58-h2fr-3pp2
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') In TypeStack class-validat, validate() input validation can be bypassed because certain internal attributes can be overwritten via a conflicting name. Even though there is an optional forbidUnknownValues parameter that can be used to reduce the risk of this bypass, this option is not documented and thus most developers configure input validation in the vulnerable default manner. With this vulnerability, attackers can launch SQL Injection or XSS attacks by injecting arbitrary malicious input. NOTE: a software maintainer agrees with the "is not documented" finding but suggests that much of the responsibility for the risk lies in a different product. There are no reported fixed by versions.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:40:11.420817+00:00 GitLab Importer Affected by VCID-cv8f-wc36-eyb3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/class-validator/CVE-2019-18413.yml 38.6.0