validator
13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed
Your version
8.2.0 is the newest release of 8.x.
In short
4 new2 fixed
Security
3 advisories affect 8.1.0; 13.15.22 fixes them
- HighValidator is Vulnerable to Incomplete Filtering of One or More Instances of Special ElementsGHSA-vghf-hv5q-vc2g · 27 Nov 2025Fixed in 13.15.22
- Moderatevalidator.js has a URL validation bypass vulnerability in its isURL functionGHSA-9965-vmph-33xx · 30 Sep 2025Fixed in 13.15.20
- ModerateInefficient Regular Expression Complexity in validator.jsGHSA-qgmg-gppg-76g5 · 3 Nov 2021Fixed in 13.7.0
Release note
Fix
require('validator/lib/isIS8601')callsAdded an
isLatLong()andisPostalCode()validatorAllow comma in email display names
Add missing string to
unescape()Fix
isMobilePhone()with Node <= 6.xNew locales