CVE-2025-12758
Published:November 27, 2025
Updated:August 06, 2026
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 Packages
validator (CDN_JS):
Affected version(s) >=0.1.2 <13.15.22Fix Suggestion:
Update to version 13.15.22validator (CDN_JS):
Affected version(s) >=0.1.2 <13.15.22Fix Suggestion:
Update to version 13.15.22https://github.com/validatorjs/validator.js.git (GITHUB):
Affected version(s) >=0.5.0 <13.15.22Fix Suggestion:
Update to version 13.15.22validator (NPM):
Affected version(s) >=0.1.0 <13.15.22Fix Suggestion:
Update to version 13.15.22validator (NPM):
Affected version(s) >=0.1.0 <13.15.22Fix Suggestion:
Update to version 13.15.22Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.51