{"id":"CVE-2025-12758","state":"PUBLISHED","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 ","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.","publishedAt":"2025-11-27T05:00:01.916Z","updatedAt":"2026-08-08T15:25:40.882Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"snyk"},"assigner":"snyk","products":["n/a validator","n/a org.webjars.npm:validator"],"affected":[{"vendor":"n/a","product":"validator","versions":[{"version":"0","status":"affected","lessThan":"13.15.22","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:validator","versions":[{"version":"0","status":"affected","lessThan":"13.15.22","versionType":"semver"}]}],"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"],"weaknesses":["CWE-792","CWE-172"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12758.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12758","state":"PUBLISHED","datePublished":"2025-11-27T05:00:01.916Z","dateUpdated":"2026-08-08T15:25:40.882Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2025-11-05T16:10:29.370Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"validator","versions":[{"version":"0","status":"affected","lessThan":"13.15.22","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:validator","versions":[{"version":"0","status":"affected","lessThan":"13.15.22","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011"},{"url":"https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e"},{"url":"https://github.com/validatorjs/validator.js/pull/2616"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P"},"cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-792","description":"Incomplete Filtering of One or More Instances of Special Elements","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2026-08-08T15:25:40.882Z"},"credits":[{"value":"Karol Wrótniak","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-03T16:27:54.528645Z","id":"CVE-2025-12758","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-172","type":"CWE","lang":"en","description":"CWE-172 Encoding Error"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-03T16:27:57.965Z"}},{"title":"CVE Program Container","references":[{"url":"http://seclists.org/fulldisclosure/2026/Jan/27"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-01-29T23:06:54.441Z"}}]}}}