Vulnerabilities

1 via 1 paths

Dependencies

1

Source

GitHub

Commit

e91980fa

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

Improper Validation of Specified Type of Input

  • Vulnerable module: validator
  • Introduced through: validator@13.7.0

Detailed paths

  • Introduced through: fluent-ts-validator@markusbohl/fluent-ts-validator#e91980fa9634293b8c15d3b0f15b092331fca48f validator@13.7.0
    Remediation: Upgrade to validator@13.15.20.

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 in the isURL() function which does not take into account : as the delimiter in browsers. An attackers can bypass protocol and domain validation by crafting URLs that exploit the discrepancy in protocol parsing that can lead to Cross-Site Scripting and Open Redirect attacks.

Remediation

Upgrade validator to version 13.15.20 or higher.

References