9.8
CRITICAL
CVE-2019-18413
"TypeStack class-validator SQL Injection and XSS Vulnerability"
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.

INFO

Published Date :

Oct. 24, 2019, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 4:33 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2019-18413 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-18413 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Typestack_class-validator_project typestack_class-validator
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-18413.

URL Resource
https://github.com/typestack/class-validator#passing-options Third Party Advisory
https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 Issue Tracking Release Notes Third Party Advisory
https://github.com/typestack/class-validator/issues/438 Exploit Issue Tracking Third Party Advisory
https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 Exploit Issue Tracking Third Party Advisory
https://github.com/typestack/class-validator#passing-options Third Party Advisory
https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 Issue Tracking Release Notes Third Party Advisory
https://github.com/typestack/class-validator/issues/438 Exploit Issue Tracking Third Party Advisory
https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 Exploit Issue Tracking Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript Shell TypeScript

Updated: 2 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : March 26, 2023, 3:58 p.m. This repo has been linked 1 different CVEs too.

Kafka

JavaScript Shell TypeScript

Updated: 2 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : March 13, 2023, 9:11 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript Shell TypeScript

Updated: 4 months, 3 weeks ago
8 stars 0 fork 0 watcher
Born at : March 15, 2022, 12:57 p.m. This repo has been linked 1 different CVEs too.

Some eslint rules for working with NestJs projects

eslint eslint-plugin nestjs nestjs-best-practices hacktoberfest

JavaScript TypeScript

Updated: 2 weeks, 1 day ago
199 stars 44 fork 44 watcher
Born at : June 5, 2021, 7:50 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-18413 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-18413 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/typestack/class-validator#passing-options
    Added Reference https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415
    Added Reference https://github.com/typestack/class-validator/issues/438
    Added Reference https://github.com/typestack/class-validator/issues/438#issuecomment-964728471
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 28, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 No Types Assigned https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 Issue Tracking, Release Notes, Third Party Advisory
  • CVE Modified by [email protected]

    Dec. 14, 2022

    Action Type Old Value New Value
    Added Reference https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 07, 2021

    Action Type Old Value New Value
    Changed Reference Type https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 No Types Assigned https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 Exploit, Issue Tracking, Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 10, 2021

    Action Type Old Value New Value
    Added CVSS V3.1 MITRE AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
    Added Reference https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 18, 2021

    Action Type Old Value New Value
    Changed Reference Type https://github.com/typestack/class-validator#passing-options No Types Assigned https://github.com/typestack/class-validator#passing-options Third Party Advisory
  • CVE Modified by [email protected]

    Sep. 28, 2021

    Action Type Old Value New Value
    Added Reference https://github.com/typestack/class-validator#passing-options [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 31, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/typestack/class-validator/issues/438 No Types Assigned https://github.com/typestack/class-validator/issues/438 Exploit, Issue Tracking, Third Party Advisory
    Added CWE NIST CWE-79
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:typestack_class-validator_project:typestack_class-validator:0.10.2:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.11 }} -0.11%

score

0.26906

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 16, 2025 9:44