High

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

  • Disclosed: 27.11.2025
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package validator < 13.15.22 13.15.22

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-172, CWE-792
Platform
npm
Package
validator
Disclosed
27.11.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-vghf-hv5q-vc2g - CC BY 4.0

Vulnerability history: validator

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
10.2017 11.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 8

Disclosures per year

  1. 2017: 4
  2. 2018: 1
  3. 2019: 0
  4. 2020: 1
  5. 2021: 2
  6. 2022: 0
  7. 2023: 0
  8. 2024: 0
  9. 2025: 2
  10. 2026: 0
Severity:
  1. Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements this entry
    High · 7.5 CVE-2025-12758 < 13.15.22 13.15.22
  2. High · 7.5 CVE-2014-8882 < 3.22.1 3.22.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.