Improper Validation of Specified Type of Input Affecting validator package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-VALIDATOR-13395830
  • published17 Oct 2025
  • disclosed10 Apr 2025
  • creditjunwon seo

Introduced: 10 Apr 2025

CVE-2025-56200  (opens in a new tab)
CWE-1287  (opens in a new tab)
First added by Snyk

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

validator is a library of string validators and sanitizers.

Affected versions of this package are vulnerable to Improper Validation of Specified Type of Input. The isURL() function in the validator module parses and validates protocols in URLs using the following method

CVSS Base Scores

version 4.0
version 3.1