class-validator

Decorator-based property validation for classes.

0.15.1Latest, 26 Feb 2026
77MDownloads, last month
0Advisories on the latest
1Advisories, all versions
MITLicence
12KStars
4.7/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Critical SQL Injection and Cross-site Scripting in class-validator CVE-2019-18413 Fixed in 0.14.0 12 Oct 2021

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.