Vulnerability library
Security checkOctober 05, 2026

joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()`

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmjoi

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Any application that validates a user-supplied string with Joi.string().isoDate() can be stalled by a single request.

Recommendation

Update the joi package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 18.0.0, < 18.2.6 >= 17.2.0, < 17.13.7**
  • Patched version(s): **18.2.6 17.13.7**

References

Could your website be exposed too?

SmartScanner can check your website for joi: Quadratic regular-expression backtracking in `Joi.string().isoDate()` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 05, 2026