Install
url-parse
Small footprint URL parser that works seamlessly across Node.js and browser environments
1.5.10Latest, 22 Feb 2022
212MDownloads, last month
0Advisories on the latest
8Advisories, all versions
MITLicence
1KStars
3.4/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | url-parse incorrectly parses hostname / protocol due to unstripped leading control characters. CVE-2022-0691 | Fixed in 1.5.9 | 22 Feb 2022 |
| Critical | Authorization Bypass Through User-Controlled Key in url-parse CVE-2022-0686 | Fixed in 1.5.8 | 21 Feb 2022 |
| Moderate | url-parse Incorrectly parses URLs that include an '@' CVE-2022-0639 | Fixed in 1.5.7 | 18 Feb 2022 |
| Moderate | Authorization bypass in url-parse CVE-2022-0512 | Fixed in 1.5.6 | 15 Feb 2022 |
| Moderate | Improper Validation and Sanitization in url-parse CVE-2020-8124 | Fixed in 1.4.5 | 6 Jan 2022 |
| Moderate | Open redirect in url-parse CVE-2021-3664 | Fixed in 1.5.2 | 10 Aug 2021 |
| Moderate | Path traversal in url-parse CVE-2021-27515 | Fixed in 1.5.0 | 6 May 2021 |
| Critical | Open Redirect in url-parse CVE-2018-3774 | Fixed in 1.4.3 | 13 Aug 2018 |
In the news
- ClamAV's phishing URL parser can overrun a stack buffer dev.to, 2 Dec 2026
- Bypassing the Webview Tax: Direct Google Forms URL Parsing on Android dev.to, 30 Nov 2026
- PHP 8.5 enables secure URI and URL parsing infoworld.com, 3 Nov 2025
- Dealing with relative paths in JavaScript URL parsing dev.to, 27 Jun 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.