CVE-2025-12758
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-12758, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-11-27

Last updated on: 2025-12-30

Assigner: Snyk

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-11-27
Last Modified
2025-12-30
Generated
2026-07-06
AI Q&A
2025-11-27
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
validator_project validator to 13.15.22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-172 The product does not properly encode or decode the data, resulting in unexpected values.
CWE-792 The product receives data from an upstream component, but does not completely filter one or more instances of special elements before sending it to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in versions of the package validator before 13.15.22, where the isLength() function does not properly filter or account for Unicode variation selectors (\uFE0F, \uFE0E) in strings. This causes the function to miscalculate the string length, potentially allowing strings longer than intended to pass validation.

Impact Analysis

Because the isLength() function miscalculates string length, applications using it for input validation may accept strings significantly longer than expected. This can lead to issues such as data truncation in databases, buffer overflows in other system components, or denial-of-service conditions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-12758. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart