{"id":"CVE-2019-18413","published":"2019-10-24T00:00:00Z","modified":"2024-08-05T01:54:14Z","title":"In TypeStack class-validator 0.10.2, validate() input validation can be bypassed because certain internal attributes…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AC:H/AV:N/A:N/C:N/I:L/PR:N/S:U/UI:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01987,"percentile":0.81109,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/typestack/class-validator/issues/438","tags":[]},{"url":"https://github.com/typestack/class-validator#passing-options","tags":[]},{"url":"https://github.com/typestack/class-validator/issues/438#issuecomment-964728471","tags":[]},{"url":"https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415","tags":[]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":16.22},{"name":"CVSS severity","points":2.59}]},"affected":[{"ecosystem":"npm","package":"class-validator","vulnerableRanges":["<0.14.0"],"patched":["0.14.0"],"from":["GHSA-fj58-h2fr-3pp2"],"provenance":"source"}],"summary":{"text":"In TypeStack class-validator 0.10.2, the validate() function's input validation can be bypassed because certain internal attributes can be overwritten through a conflicting name. An attacker with network access and no authentication or user interaction can inject arbitrary malicious input that bypasses validation, enabling SQL injection or XSS attacks, though the optional forbidUnknownValues parameter reduces this risk and is undocumented, so default configurations remain exposed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:31Z"},"euvd":{"id":"EUVD-2021-2194","exploited":false,"provenance":"source"}}