VDB

CVE-2025-12758

CVE-2025-12758 PUBLISHED CVSS 8.7 HIGH

Reported by snyk · Published November 27, 2025

validator is fixed in 13.15.22 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
validatornpm13.15.22
redisinsightChainguard3.0.0-r0
safWolfi1.5.2-r0
safChainguard1.5.2-r0
sqlpadChainguard7.5.7-r4
sqlpadWolfi7.5.7-r4
validatorvalidator_project13.15.22
org.webjars.npm:validatorn/a13.15.22
validatorn/a13.15.22

Risk scores

CVSS 4.0
8.7
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

Affected products

VendorProductVersions
n/avalidator0
n/aorg.webjars.npm:validator0
n/avalidator0
n/aorg.webjars.npm:validator0

Timeline

  • Nov 27, 2025 CVE Published
  • Nov 27, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 27, 2025 Coalition ESS Score (4 in total, the first dated here)
  • Nov 27, 2025 PoC Published (4 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Aug 8, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-12758
vulnetix vdb fixes CVE-2025-12758

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-12758/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›