Home / validator / validator / CVE-2025-12758
CVE-2025-12758: is it exploited, and which versions of validator are affected and fixed?
CVE-2025-12758 is an incomplete Filtering of One or More Instances of Special Elements vulnerability in validator. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: validator before 13.15.22 (GitHub advisory GHSA-vghf-hv5q-vc2g). Fixed in 13.15.22 (GitHub advisory GHSA-vghf-hv5q-vc2g). Severity: High (8.7, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-12758?
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.
From the CVE record by snyk, last updated August 8, 2026, 15:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| validator | before 13.15.22 | 13.15.22 | |
| org.webjars.npm:validator | before 13.15.22 | 13.15.22 |
As the CVE record by snyk states it, last updated August 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | validator | < 13.15.22 | 13.15.22 | GHSA-vghf-hv5q-vc2g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 31, 2026. Summary: Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| validator project | validator | before 13.15.22 | application |
NVD analysis (status Modified), last modified October 19, 2026, 13:10 UTC.
How severe is CVE-2025-12758?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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:P | snyk |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P | snyk |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-12758 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, December 3, 2025)
- EPSS
- 0.84% probability of exploitation activity in the next 30 days, percentile 59.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-792 Incomplete Filtering of One or More Instances of Special Elements
- CWE-172 Improper Encoding or Decoding of Data
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011
- https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e
- https://github.com/validatorjs/validator.js/pull/2616
- http://seclists.org/fulldisclosure/2026/Jan/27
Who found and reported it?
- Karol Wrótniak (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 5, 2025
- Published
- November 27, 2025, 05:00 UTC
- CVE record updated
- August 8, 2026, 15:25 UTC by snyk
- NVD
- Modified, last modified October 19, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-12758
Is CVE-2025-12758 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of validator are affected by CVE-2025-12758?
validator before 13.15.22, per the GitHub advisory GHSA-vghf-hv5q-vc2g. The tables above give every range the sources list.
Which version fixes CVE-2025-12758?
13.15.22, per the GitHub advisory GHSA-vghf-hv5q-vc2g. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-12758?
High (8.7, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2025-12758?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.