SvelteKit open redirect in enhanced form actions
sveltejs kit
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @sveltejs/kit npm |
|
|
Original description
SvelteKit (@sveltejs/kit) before 3.0.0 contains an open redirect vulnerability in enhanced form actions (use:enhance) on routes accepting paths beginning with a double slash. Attackers can craft action paths starting with // that become protocol-relative URLs, causing non-redirect form results to navigate victims to attacker-controlled sites.
From the CVE record · VulnCheck