CVE-2025-12758

7.5 HIGH
Published: November 27, 2025 Modified: December 30, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e
Source: report@snyk.io
Exploit Third Party Advisory
https://github.com/validatorjs/validator.js/pull/2616
Source: report@snyk.io
Issue Tracking Patch
https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476
Source: report@snyk.io
Exploit Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Third Party Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.0%
15th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

validator_project