Every CVE Search/ Get API key

CVE-2025-12758

Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements

8.7 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.55%Up 0.5 points since Nov 27, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.7

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.

Record
CVE-2025-12758
CVSS 4.0
8.7 HighCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Weakness
CWE-792, CWE-172
Updated
2026-11-02
EUVDEUVD-2025-199795 8.7

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.

Record
EUVD-2025-199795
CVSS 4.0
8.7 HighCVSS: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
Updated
2026-11-02
GitHub AdvisoriesGHSA-vghf-hv5q-vc2g 7.7

Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements

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.

Record
GHSA-vghf-hv5q-vc2g
CVSS 4.0
7.7 HighCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-172, CWE-792
Updated
2026-11-02
NVD 7.7

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.

Record
CVE-2025-12758
CVSS 4.0
7.7 HighCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-792, CWE-172
Updated
2026-11-02
OSV 7.7

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.

Record
CVE-2025-12758
CVSS 4.0
7.7 HighCVSS: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
Weakness
CWE-792
Updated
2026-11-02
OSVGHSA-vghf-hv5q-vc2g 7.7

Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements

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.

Record
GHSA-vghf-hv5q-vc2g
CVSS 4.0
7.7 HighCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-172, CWE-792
Updated
2026-11-02
Show 4 moreShow less
OSVROOT-APP-NPM-CVE-2025-12758 7.5

CVE-2025-12758 in validator - Patched by Root

Root has patched CVE-2025-12758 in the validator package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2025-12758
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-06
OSVCLSA-2026-1788519023 No score

TuxCare security update for validator (2 CVEs)

TuxCare rebuilt validator to address 2 CVEs. Fixed in 13.12.0-tuxcare.1.

Record
CLSA-2026-1788519023
Updated
2026-11-02
OSVCLSA-2026-1789161525 No score

TuxCare security update for validator (2 CVEs)

TuxCare rebuilt validator to address 2 CVEs. Fixed in 7.2.0-tuxcare.1.

Record
CLSA-2026-1789161525
Updated
2026-11-02
OSVCLSA-2026-1790175492 No score

TuxCare security update for validator (1 CVE)

TuxCare rebuilt validator to address 1 CVE. Fixed in 4.4.0-tuxcare.3.

Record
CLSA-2026-1790175492
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
validator
npm
before 13.15.22
13.15.22
validator
TuxCare:npm
From an advisory covering 2 CVEs
13.12.0-tuxcare.0 up to 13.12.0-tuxcare.1, plus listed versions
13.12.0
13.12.0-tuxcare.1
validator
TuxCare:npm
From an advisory covering 2 CVEs
7.2.0-tuxcare.0 up to 7.2.0-tuxcare.1, plus listed versions
7.2.0
7.2.0-tuxcare.1
validator
TuxCare:npm
4.4.0-tuxcare.0 up to 4.4.0-tuxcare.3, plus listed versions
4.4.04.4.0-tuxcare.14.4.0-tuxcare.2
4.4.0-tuxcare.3
validator
Root:npm
before 13.7.0-aikido.1
13.7.0-aikido.17.2.0-aikido.313.12.0-aikido.213.12.0-aikido.310.11.0-aikido.113.15.15-aikido.113.11.0-aikido.17.0.0-aikido.1
@rootio/validator
Root:npm
before 13.12.0-root.io.1
13.12.0-root.io.17.2.0-root.io.213.7.0-root.io.17.2.0-root.io.313.12.0-root.io.213.12.0-root.io.310.11.0-root.io.113.15.15-root.io.113.11.0-root.io.17.0.0-root.io.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubopen-flaw/CVE-2025-127582025-12-11

History

History
RecordedChangedSources
affectedOSV
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-12758 is a high vulnerability (CVSS 8.7) in Validator Project Validator, published November 27, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.55%, the 46th percentile. Fixed in validator 13.15.22.

References

Show 4 moreShow less
MoveEnter Open