CVE-2025-12758
Last modified
CVE-2025-12758 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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.. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Validator Project | Validator | < 13.15.22 |
References
- https://gist.github.com/koral--/ad31208b25b9e3d1e2e35f1d4d72572eExploit, Third Party Advisory
- https://github.com/validatorjs/validator.js/pull/2616Issue Tracking, Patch
- https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-VALIDATOR-13653476Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-12758?
How severe is CVE-2025-12758?
How do I fix CVE-2025-12758?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12752The Subscriptions & Memberships for PayPal plugin for WordPr…5.3
- CVE-2025-12753The Chart Expert plugin for WordPress is vulnerable to Store…6.4
- CVE-2025-12754The Geopost plugin for WordPress is vulnerable to Stored Cro…6.4
- CVE-2025-12755IBM MQ Operator (SC2 v3.2.0–3.8.1, LTS v2.0.0–2.0.29) and IB…4
- CVE-2025-12756Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10…4.3
- CVE-2025-12757An AXIS Camera Station Pro feature can be exploited in a way…4.6
- CVE-2025-12759Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-1276A maliciously crafted DWG file, when parsed through certain …7.8
- CVE-2025-12760Authentication Bypass Using an Alternate Path or Channel vul…5.4
- CVE-2025-12761Improper Neutralization of Input During Web Page Generation …3.5
- CVE-2025-12762pgAdmin versions up to 9.9 are affected by a Remote Code Exe…9.8
- CVE-2025-12763pgAdmin 4 versions up to 9.9 are affected by a command injec…8.8
Are you affected by CVE-2025-12758?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
