GitHub Advisory Database
GHSA-pqw5-jmp5-px4v
parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | parse-url | All versions before 8.1.0 (fixed in 8.1.0) |