joi

Object schema validation

18.3.2Latest, 4 Nov 2026
145MDownloads, last month
0Advisories on the latest
6Advisories, all versions
BSD-3-ClauseLicence
21KStars
6.1/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service CVE-2026-118772 Fixed in 17.13.9, 18.3.1 30 Oct 2026
High joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()` CVE-2026-92599 Fixed in 17.13.7, 18.2.6 29 Sep 2026
Moderate joi messages compilation allows prototype replacement through __proto__ error codes CVE-2026-90771 Fixed in 17.13.8, 18.2.9 13 Sep 2026
Low joi: Prototype pollution via a `__proto__` language key in custom messages CVE-2026-122131 Fixed in 17.13.6, 18.2.5 8 Sep 2026
Low joi: object().rename() with a template target can set the validated object's prototype CVE-2026-84367 Fixed in 17.13.5, 18.2.4 8 Sep 2026
Moderate joi has an uncaught RangeError on deeply nested input through recursive `link()` schemas CVE-2026-48038 Fixed in 18.2.1, 17.13.4 11 Jun 2026

In the news

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