Description
parse-url prior to 8.1.0 is vulnerable to Misinterpretation of Input. parse-url parses certain http or https URLs incorrectly, identifying the URL’s protocol as ssh. It may also parse the host name incorrectly.
Recommendation
Update the parse-url package to the latest compatible version. Followings are version details:
- Affected version(s): < 8.1.0
- Patched version(s): 8.1.0
References
Could your website be exposed too?
SmartScanner can check your website for parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing and gives you actionable findings to investigate.
Start a free scanRelated Issues
- url-parse Incorrectly parses URLs that include an '@ - CVE-2022-0639
- url-parse incorrectly parses hostname / protocol due to unstripped leading control characters. - CVE-2022-0691
- Cross site scripting in parse-url - parse-url - CVE-2022-2218
- Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url - CVE-2022-2900


