CVE-2025-12758

Published Nov 27, 2025 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vghf-hv5q-vc2g Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements
History
Type Values Removed Values Added
First Time appeared Validator Project
Validator Project validator
CPEs cpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:*
Vendors & Products Validator Project
Validator Project validator
Type Values Removed Values Added
Weaknesses CWE-172
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Validatorjs
Validatorjs validator.js
Vendors & Products Validatorjs
Validatorjs validator.js
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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Aug 8, 2026, 3:25 PM
Reserved
Nov 5, 2025, 4:10 PM
Status
Modified
Published
Nov 27, 2025, 5:16 AM
Modified
Oct 19, 2026, 1:10 PM