XSS in Typestack Class-Validator Project
CVE-2019-18413
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.020 (78.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Typestack_class-validator_project Typestack_class-validator — versions 0.10.2
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory, Issue Tracking)
- cve@mitre.org (Third Party Advisory)
- cve@mitre.org (Exploit, Third Party Advisory, Issue Tracking)
- cve@mitre.org (Third Party Advisory, Release Notes, Issue Tracking)
Frequently asked questions
- What is CVE-2019-18413?
- CVE-2019-18413 is a low-severity vulnerability in Typestack Class-Validator Project, classified under Cross-site Scripting. CVSS score: 3.7/10. Published 2019-10-24.
- How severe is CVE-2019-18413?
- Low severity. CVSS v3 base score is 3.7 out of 10.
- Is CVE-2019-18413 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.