{"id":"CVE-2025-12758","revision":"147bf40bd69d4fa58254569946b036dd","records":[{"revision":"147bf40bd69d4fa58254569946b036dd","observedAt":"2026-10-25T01:17:29.167+00:00","statement":{"source":"nvd","id":"CVE-2025-12758","aliases":[],"title":"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) ap…","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.","state":0,"publishedAt":"2025-11-27T05:16:12.193+00:00","modifiedAt":"2026-10-19T13:10:00.11+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · report@snyk.io · Secondary","vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · report@snyk.io · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e","https://github.com/validatorjs/validator.js/pull/2616","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011","https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","http://seclists.org/fulldisclosure/2026/Jan/27"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-12758","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-792","CWE-172"],"productCriteria":["cpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-11-27T05:16:12.193","lastModified":"2026-10-19T13:10:00.110"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-12758","identifiers":["CVE-2025-12758"]},"retained":false,"historicalAffected":[]}],"coverage":[]}