CVE-2025-12758: validator · Incomplete Filtering of One or More Instances of Special Elements
Affects validatorSource CVE Database V5
Public exploit available · CVSS 8.7 High : upgrade to 13.15.22 as a priority.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 13.15.22
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade validator to 13.15.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmvalidatorpkg:npm/validatorOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in validator version 13.15.22. Users should upgrade to version 13.15.22 or later to address this vulnerability. Patch status is confirmed by the versioning information indicating versions before 13.15.22 are affected.
Description
Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of Special Elements in the isLength() function that does not take into account Unicode variation selectors (\uFE0F, \uFE0E) appearing in a sequence which lead to improper string length calculation. This can lead to an application using isLength for input validation accepting strings significantly longer than intended, resulting in issues like data truncation in databases, buffer overflows in other system components, or denial-of-service.
References
- security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011 (opens in a new tab)
- gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e (opens in a new tab)
- github.com/validatorjs/validator.js/pull/2616 (opens in a new tab)
- seclists.org/fulldisclosure/2026/Jan/27 (opens in a new tab)