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.
Metrics
Affected Vendors & Products
References
History
Wed, 03 Dec 2025 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-172 | |
| Metrics |
ssvc
|
Thu, 27 Nov 2025 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Validatorjs
Validatorjs validator.js |
|
| Vendors & Products |
Validatorjs
Validatorjs validator.js |
Thu, 27 Nov 2025 05:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Weaknesses | CWE-792 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: snyk
Published: 2025-11-27T05:00:01.916Z
Updated: 2025-12-03T16:27:57.965Z
Reserved: 2025-11-05T16:10:29.370Z
Link: CVE-2025-12758
Updated: 2025-12-03T16:27:46.277Z
Status : Awaiting Analysis
Published: 2025-11-27T05:16:12.193
Modified: 2025-12-03T17:15:49.477
Link: CVE-2025-12758
No data.