VDB
Sign up
MEDIUM5.3

GHSA-9m6j-fcg5-2442

Path traversal in url-parse

Quick fix

GHSA-9m6j-fcg5-2442 — url-parse: upgrade to the fixed version with the command below.

npm install url-parse@1.5.0

Details

url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/url-parse
Introduced in: 0.1.0Fixed in: 1.5.0
Fixnpm install url-parse@1.5.0

References