CVE-2019-18413 Details
Description
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 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 | CVE | Issue TrackingRelease NotesThird Party Advisory |
| https://github.com/typestack/class-validator/issues/438 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://github.com/typestack/class-validator#passing-options | CVE | Third Party Advisory |
| https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 | [email protected] | Issue TrackingRelease NotesThird Party Advisory |
| https://github.com/typestack/class-validator/issues/438 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/typestack/class-validator#passing-options | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| typestack class-validator project typestack class-validator | 0.10.2 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 28, 2023 | Modified Analysis | [email protected] |
| Dec 14, 2022 | CVE Modified | [email protected] |
| Dec 7, 2021 | Modified Analysis | [email protected] |
| Nov 10, 2021 | CVE Modified | [email protected] |
| Oct 18, 2021 | Modified Analysis | [email protected] |
| Sep 28, 2021 | CVE Modified | [email protected] |
| Oct 31, 2019 | Initial Analysis | [email protected] |