Skip to content

validator-13.15.15.tgz: 2 vulnerabilities (highest severity is: 7.5) reachable #282

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - validator-13.15.15.tgz

String validation and sanitization

Library home page: https://registry.npmjs.org/validator/-/validator-13.15.15.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: d7291cdc995ec80e4b184d3be7cbfe24f0ab800b

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (validator version) Remediation Possible** Reachability
CVE-2025-12758 High 7.5 Not Defined 0.1% validator-13.15.15.tgz Direct 13.15.22

Reachable

CVE-2025-56200 Medium 6.1 Not Defined 0.1% validator-13.15.15.tgz Direct validator - 13.15.20

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-12758

Vulnerable Library - validator-13.15.15.tgz

String validation and sanitization

Library home page: https://registry.npmjs.org/validator/-/validator-13.15.15.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • validator-13.15.15.tgz (Vulnerable Library)

Found in HEAD commit: d7291cdc995ec80e4b184d3be7cbfe24f0ab800b

Found in base branch: develop

Reachability Analysis

This vulnerability is potentially reachable

backend-1.3.1/routes/session.ts (Application)
  -> validator-13.15.15/index.js (Extension)
   -> ❌ validator-13.15.15/lib/isLength.js (Vulnerable Component)

Vulnerability Details

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.

Publish Date: 2025-11-27

URL: CVE-2025-12758

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-11-27

Fix Resolution: 13.15.22

In order to enable automatic remediation, please create workflow rules

CVE-2025-56200

Vulnerable Library - validator-13.15.15.tgz

String validation and sanitization

Library home page: https://registry.npmjs.org/validator/-/validator-13.15.15.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • validator-13.15.15.tgz (Vulnerable Library)

Found in HEAD commit: d7291cdc995ec80e4b184d3be7cbfe24f0ab800b

Found in base branch: develop

Reachability Analysis

This vulnerability is potentially reachable

backend-1.3.1/routes/session.ts (Application)
  -> validator-13.15.15/index.js (Extension)
   -> ❌ validator-13.15.15/lib/isLocale.js (Vulnerable Component)

Vulnerability Details

A URL validation bypass vulnerability exists in validator.js through version 13.15.15. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.

Publish Date: 2025-09-30

URL: CVE-2025-56200

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9965-vmph-33xx

Release Date: 2025-09-30

Fix Resolution: validator - 13.15.20


In order to enable automatic remediation for this issue, please create workflow rules

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions