Description
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Recommendation
Update the url-parse package to the latest compatible version. Followings are version details:
- Affected version(s): >= 0.1.0, < 1.5.0
- Patched version(s): 1.5.0
References
Could your website be exposed too?
SmartScanner can check your website for Path traversal in url-parse and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Open redirect in url-parse - url-parse - CVE-2021-3664
- Path traversal in Node-RED-Dashboard - CVE-2021-3223
- i18next-http-backend has Path Traversal & URL Injection via Unsanitised lng/ns - CVE-2026-41691
- url-parse incorrectly parses hostname / protocol due to unstripped leading control characters. - CVE-2022-0691
You might also like:
See something that needs correcting? Let us knowUpdated February 03, 2026


