🔐 CVE Alert

CVE-2025-12758

HIGH 7.5
CVSS Score
7.5
EPSS Score
0.5%
EPSS Percentile
37th

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.

CWE CWE-792
Vendor n/a
Product validator
Published Nov 27, 2025
Last Updated Jul 14, 2026
Stay Ahead of the Next One

Get instant alerts for n/a validator

Be the first to know when new high vulnerabilities affecting n/a validator are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

n/a / validator
0 < 13.15.22
n/a / org.webjars.npm:validator
0 < 13.15.22

References

NVD ↗ CVE.org ↗ EPSS Data ↗
security.snyk.io: https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476 security.snyk.io: https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-14152011 gist.github.com: https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572e github.com: https://github.com/validatorjs/validator.js/pull/2616 seclists.org: http://seclists.org/fulldisclosure/2026/Jan/27

Credits

Karol Wrótniak