High severityNVD Advisory· Published Nov 27, 2025· Updated Jan 29, 2026
CVE-2025-12758
CVE-2025-12758
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
validatornpm | < 13.15.22 | 13.15.22 |
Affected products
10- osv-coords9 versionspkg:apk/chainguard/redisinsightpkg:apk/chainguard/redisinsight-docker-entrypointpkg:apk/chainguard/safpkg:apk/chainguard/sqlpadpkg:apk/chainguard/sqlpad-compatpkg:apk/wolfi/safpkg:apk/wolfi/sqlpadpkg:apk/wolfi/sqlpad-compatpkg:npm/validator
< 3.0.0-r0+ 8 more
- (no CPE)range: < 3.0.0-r0
- (no CPE)range: < 3.0.0-r0
- (no CPE)range: < 1.5.2-r0
- (no CPE)range: < 7.5.7-r4
- (no CPE)range: < 7.5.7-r4
- (no CPE)range: < 1.5.2-r0
- (no CPE)range: < 7.5.7-r4
- (no CPE)range: < 7.5.7-r4
- (no CPE)range: < 13.15.22
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-vghf-hv5q-vc2gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-12758ghsaADVISORY
- seclists.org/fulldisclosure/2026/Jan/27ghsaWEB
- gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572eghsaWEB
- github.com/validatorjs/validator.js/commit/d457ecaf55b0f3d8bd379d82757425d0d13dd382ghsaWEB
- github.com/validatorjs/validator.js/pull/2616ghsaWEB
- security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476ghsaWEB
News mentions
0No linked articles in our index yet.