Summary
Open Redirect in parse-url.
Product
parse-url through 6.0.0, and versions 6.0.2, 6.0.3, 6.0.5.
Steps to reproduce
{
protocols: [ 'https' ],
protocol: 'https',
port: null,
resource: 'google.com::',
user: '',
pathname: '/test',
hash: '',
search: '',
href: 'https://google.com::/test',
query: [Object: null prototype] {}
}Remediation
Update parse-url to 6.0.1 or 6.0.3.
Credit
This issue was reported by @p0cas through huntr.dev.