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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.020 (79.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-18413: held from 0.020 to 0.020.

EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.