Live threats

All CVEs / Validator Project

CVE-2025-12758Validator Project Validator

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Nov 27, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-792, CWE-172
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Validator.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm validator < 13.15.22 13.15.22 npm install validator@13.15.22

Per OSV / GitHub Advisories (GHSA-vghf-hv5q-vc2g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
validator_projectvalidator< 13.15.22

Official sources

References

Links published by the sources. Open them with care.