Uncaught Exception Affecting joi package, versions <17.13.4>=18.0.0 <18.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-JOI-17317897
  • published12 Jun 2026
  • disclosed11 Jun 2026
  • creditShreehari B Deshpande

Introduced: 11 Jun 2026

NewCVE-2026-48038  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade joi to version 17.13.4, 18.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception through the link validation. An attacker can cause the application to crash or become unresponsive by submitting deeply nested input that triggers an unhandled RangeError exception. This is only exploitable if input validation is performed without proper exception handling (such as missing try/catch blocks).

CVSS Base Scores

version 4.0
version 3.1