CVE-2025-12758
Reported by snyk · Published November 27, 2025
validator is fixed in 13.15.22 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| validator | npm | 13.15.22 |
| redisinsight | Chainguard | 3.0.0-r0 |
| saf | Wolfi | 1.5.2-r0 |
| saf | Chainguard | 1.5.2-r0 |
| sqlpad | Chainguard | 7.5.7-r4 |
| sqlpad | Wolfi | 7.5.7-r4 |
| validator | validator_project | 13.15.22 |
| org.webjars.npm:validator | n/a | 13.15.22 |
| validator | n/a | 13.15.22 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | validator | 0 |
| n/a | org.webjars.npm:validator | 0 |
| n/a | validator | 0 |
| n/a | org.webjars.npm:validator | 0 |
Timeline
- Nov 27, 2025 CVE Published
- Nov 27, 2025 EPSS Score (30 in total, the first dated here)
- Nov 27, 2025 Coalition ESS Score (4 in total, the first dated here)
- Nov 27, 2025 PoC Published (4 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Aug 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-12758
vulnetix vdb fixes CVE-2025-12758
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-12758/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart