{"schemaVersion":3,"id":"CVE-2025-12758","aliases":["CGA-27wc-x6rx-q682","CGA-5679-6694-3w27","CGA-8v2p-p243-5g9h","CGA-gqqh-63qg-v8j5","CGA-gwwq-gg9h-w56w","CGA-r47w-9p73-2w8m","GHSA-vghf-hv5q-vc2g","CGA-8783-2m23-2wmg","CGA-fx55-2f85-5fjx","CGA-ppgw-h57j-hm8q","CGA-xcp6-rwv2-2c29"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-11-27T05:00:01.916Z","modified":"2026-08-08T15:25:40.882Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00517,"percentile":0.42842,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00517},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00517,"percentile":0.42842}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00517,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00517,"percentile":0.42842}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_KORAL--_AD31208B25B9E3D1E2E35F1D4D72572E","name":"Ad31208B25B9E3D1E2E35F1D4D72572E","source":"github","url":"https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_9EDAD31DB721BE68","name":"Exploit Reference (security.snyk.io)","source":"reference","url":"https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-792","name":"Incomplete Filtering of One or More Instances of Special Elements","description":"The product receives data from an upstream component, but does not completely filter one or more instances of special elements before sending it to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/792.html"},{"id":"CWE-172","name":"Encoding Error","description":"The product does not properly encode or decode the data, resulting in unexpected values.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/172.html"}],"affected":[{"vendor":"chainguard","product":"redisinsight","name":"redisinsight","label":"redisinsight","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/redisinsight","purlType":"apk","versions":[{"text":"< 3.0.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"redisinsight-docker-entrypoint","name":"redisinsight-docker-entrypoint","label":"redisinsight-docker-entrypoint","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/redisinsight-docker-entrypoint","purlType":"apk","versions":[{"text":"< 3.0.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"saf","name":"saf","label":"saf","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/saf","purlType":"apk","versions":[{"text":"< 1.5.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"sqlpad","name":"sqlpad","label":"sqlpad","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/sqlpad","purlType":"apk","versions":[{"text":"< 7.5.7-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r4","eol":null,"hubHref":null},{"vendor":"chainguard","product":"sqlpad-compat","name":"sqlpad-compat","label":"sqlpad-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/sqlpad-compat","purlType":"apk","versions":[{"text":"< 7.5.7-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"saf","name":"saf","label":"saf","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/saf","purlType":"apk","versions":[{"text":"< 1.5.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.2-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"sqlpad","name":"sqlpad","label":"sqlpad","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/sqlpad","purlType":"apk","versions":[{"text":"< 7.5.7-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"sqlpad-compat","name":"sqlpad-compat","label":"sqlpad-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/sqlpad-compat","purlType":"apk","versions":[{"text":"< 7.5.7-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.5.7-r4","eol":null,"hubHref":null},{"vendor":"Npm","product":"validator","name":"validator","label":"validator","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/validator","purlType":"npm","versions":[{"text":"< 13.15.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.15.22","eol":null,"hubHref":null},{"vendor":"validator_project","product":"validator","name":"validator","label":"validator","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 13.15.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 13.15.22","eol":null,"hubHref":"/vendor/validator_project/validator"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","label":"security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476","hostname":"security.snyk.io","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011","label":"security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011","hostname":"security.snyk.io","tags":["WEB"]},{"url":"https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e","label":"gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e","hostname":"gist.github.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/validatorjs/validator.js/pull/2616","label":"github.com/validatorjs/validator.js/pull/2616","hostname":"github.com","tags":["FIX","WEB","Issue Tracking","Patch"]},{"url":"http://seclists.org/fulldisclosure/2026/Jan/27","label":"seclists.org/fulldisclosure/2026/Jan/27","hostname":"seclists.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12758.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12758.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12758","label":"nvd.nist.gov/vuln/detail/CVE-2025-12758","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/validatorjs/validator.js/commit/d457ecaf55b0f3d8bd379d82757425d0d13dd382","label":"github.com/validatorjs/validator.js/commit/d457ecaf55b0f3d8bd379d82757425d0d13dd382","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/validatorjs/validator.js","label":"github.com/validatorjs/validator.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8VVJ-C8V9-44GC"]},"timeline":[{"kind":"published","date":"2025-11-27T05:00:01.916Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-08T15:25:40.882Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:40:05.130Z","stale":false,"partial":false}}