url-parse@0.0.3 vulnerabilities

Small footprint URL parser that works seamlessly across Node.js and browser environments

Direct Vulnerabilities

Known vulnerabilities in the url-parse package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Authorization Bypass Through User-Controlled Key

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key due to incorrect conversion of @ in the protocol field of the HREF.

How to fix Authorization Bypass Through User-Controlled Key?

Upgrade url-parse to version 1.5.7 or higher.

<1.5.7
  • M
Authorization Bypass

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Authorization Bypass via the hostname field of a parsed URL, because "url-parse" is unable to find the correct hostname when no port number is provided in the URL.

How to fix Authorization Bypass?

Upgrade url-parse to version 1.5.8 or higher.

<1.5.8
  • H
Improper Input Validation

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Improper Input Validation due to improper fix of CVE-2020-8124 , it is possible to be exploited via the \b (backspace) character.

How to fix Improper Input Validation?

Upgrade url-parse to version 1.5.9 or higher.

<1.5.9
  • M
Access Restriction Bypass

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Access Restriction Bypass due to improper parsing process, that may lead to incorrect handling of authentication credentials and hostname, which allows bypass of hostname validation.

How to fix Access Restriction Bypass?

Upgrade url-parse to version 1.5.6 or higher.

<1.5.6
  • M
Open Redirect

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Open Redirect due to improper escaping of slash characters.

How to fix Open Redirect?

Upgrade url-parse to version 1.5.2 or higher.

<1.5.2
  • M
Improper Input Validation

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Improper Input Validation. It mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

How to fix Improper Input Validation?

Upgrade url-parse to version 1.5.0 or higher.

<1.5.0
  • H
Improper Input Validation

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Improper Input Validation. When using url-parse in the browser the protocol of the URL returned by the parser is not validated correctly. In the Node.js environment strings like, javascript: return empty strings on the resulting URL object, but in the browser document.location.protocol is used when the provided URL doesn't match the validation expression /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i.

How to fix Improper Input Validation?

Upgrade url-parse to version 1.4.5 or higher.

<1.4.5
  • H
Open Redirect

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Open Redirect, Server Side Request Forgery (SSRF) and Bypass Authentication Protocol due to returning wrong hostname.

How to fix Open Redirect?

Upgrade url-parse to version 1.4.3 or higher.

<1.4.3
  • H
Open Redirect

url-parse is a Small footprint URL parser that works seamlessly across Node.js and browser environments.

Affected versions of this package are vulnerable to Open Redirect, Server Side Request Forgery (SSRF) and Bypass Authentication Protocol due to returning wrong hostname.

How to fix Open Redirect?

Upgrade url-parse to version 1.4.3 or higher.

<1.4.3