CVE-2019-18413: In TypeStack class-validator 0.10.2, validate() input validation can be bypassed because certain internal attr
CVE-2019-18413 is a low-severity flaw (CVSS 3.7) affecting typestack class-validator. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In TypeStack class-validator 0.10.2, 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
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-18413?
typestack class-validator: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-18413 being exploited?
CVE-2019-18413 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-18413 affect?
CVE-2019-18413 affects typestack class-validator. Severity is low (CVSS 3.7). In TypeStack class-validator 0.10.2, 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
How urgent is CVE-2019-18413?
Priority 43/100. Public exploit reference; Remotely exploitable, no login, no user action