Open redirect in url-parse
The npm package url-parse mishandles certain URLs, allowing an attacker to redirect users to an untrusted site. This can bypass allow/block lists and enable open redirects or SSRF attacks.
github/advisory-database
Originally disclosed on huntr
Overview
Affected versions of npm url-parse are vulnerable to URL Redirection to Untrusted Site.
Impact
Depending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.
From the GitHub Advisory Database (GHSA-hh27-ffr2-f2jc, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the library does not correctly parse or validate URLs, allowing crafted input to bypass intended restrictions.
What the attacker needed
Use of vulnerable url-parse version
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An open redirect is when a website sends you to another site without checking if that site is safe. Here, a library that many programs use to read web addresses can be tricked into treating a malicious address as if it were allowed, so users can be sent to bad sites.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.