CVE-2025-12758
HIGHDescription
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.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| validator_project | validator |
References
Advisories & Patches
Exploits
Other References
Frequently Asked Questions
What is CVE-2025-12758? +
How severe is CVE-2025-12758? +
What products are affected by CVE-2025-12758? +
How do I check if I'm vulnerable to CVE-2025-12758? +
Related Vulnerabilities
Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions …
A URL validation bypass vulnerability exists in validator.js through version 13.15.15. The isURL() function uses '://' as a delimiter to …