Install
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
Source · Homepage · Ask AI Mode · · Markdown
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
- From Loneliness to Connection: How the Joi AI Helps Men Feel Seen techbullion.com, 19 Nov 2025
- schema-env v2.1: Now with Pluggable Validation Adapters (Joi, Yup, Your Own!) dev.to, 6 May 2025
- JSON TO JOI SCHEMA CONVERTER dev.to, 25 Apr 2025
- My Experience Building a Basic REST API with Express.js and Joi Validation dev.to, 31 Jan 2025
- i am stuck in error after spending 3hrs for my self i am fail to get the error . i need help . joi npm error stackoverflow.com, 29 Jan 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.