Description
Insufficient validation and sanitization of user input exists in url-parse npm package version 1.4.4 and earlier may allow attacker to bypass security checks.
Recommendation
Update the url-parse package to the latest compatible version. Followings are version details:
- Affected version(s): >= 0.1.0, < 1.4.5
- Patched version(s): 1.4.5
References
Related Issues
- Authorization Bypass Through User-Controlled Key in url-parse - CVE-2022-0686
- Authorization bypass in url-parse - CVE-2022-0512
- Improper Input Validation in url-js - CVE-2022-25839
- url-parse incorrectly parses hostname / protocol due to unstripped leading control characters. - CVE-2022-0691
- Tags:
- npm
- url-parse
Anything's wrong? Let us know Last updated on February 03, 2026