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

Low · published October 24, 2019

CVSS v3.1
3.7
EPSS
2%
Percentile
80.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AC:H/AV:N/A:N/C:N/I:L/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.01987 · 80.5th percentile
Published
2019-10-24T00:00Z
EPSS history
Timeline
  • 24 OCT 00:00Z
    In TypeStack class-validator 0.10.2, validate() input validation can be bypassed because certain internal attributes can be overwritten via a conflicting name
    cvelistv5