{"id":"CVE-2025-12758","published":"2025-11-27T05:00:01Z","modified":"2026-08-08T15:25:40Z","title":"Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00836,"percentile":0.58652,"provenance":"source"},"cwes":[{"id":"CWE-792","name":"Incomplete Filtering of One or More Instances of Special Elements"},{"id":"CWE-172","name":"Improper Encoding or Decoding of Data"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011","tags":[]},{"url":"https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e","tags":[]},{"url":"https://github.com/validatorjs/validator.js/pull/2616","tags":[]},{"url":"http://seclists.org/fulldisclosure/2026/Jan/27","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.73},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"validator","versions":["< 13.15.22"]},{"vendor":"n/a","product":"org.webjars.npm:validator","versions":["< 13.15.22"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-03T16:27:54.528645Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"validator","vulnerableRanges":["<13.15.22"],"patched":["13.15.22"],"from":["GHSA-vghf-hv5q-vc2g"],"provenance":"source"}],"summary":{"text":"The validator package before 13.15.22 has a flaw in its isLength() function, which fails to account for Unicode variation selectors (\\uFE0F, \\uFE0E) in sequences, causing improper string length calculation. An attacker with network access and no authentication or user interaction can supply input containing these selectors so that applications relying on isLength for validation accept strings far longer than intended, which can lead to data truncation, buffer overflows in other components, or denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:24Z"},"euvd":{"id":"EUVD-2025-199795","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-9772","published":"2017-01-23","fixed":"2.0.0","kev":false},{"cve":"CVE-2021-3765","published":"2021-11-02","fixed":"13.7.0","kev":false},{"cve":"CVE-2025-56200","published":"2025-09-30","fixed":"13.15.20","kev":false,"link":{"from":"CVE-2025-56200","to":"CVE-2025-12758","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:validator","fromFixed":"13.15.20","toFixed":"13.15.22","daysApart":58}]}},{"cve":"CVE-2025-12758","published":"2025-11-27","fixed":"13.15.22","kev":false}],"package":"npm:validator"}}