Description
Wishlist through 0.69.0 contains an open redirect vulnerability that allows remote attackers to redirect users to external sites by supplying an unvalidated redirectTo parameter on the /login, /signup and /setup-wizard routes. Attackers can send crafted links on the trusted Wishlist host that pass redirectTo directly to SvelteKit's 302 redirect, sending victims to attacker-controlled phishing sites.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redqteam | Wishlist | 0 ≤0.69.0 | — |
References
- https://github.com/cmintey/wishlist/blob/v0.69.0/src/routes/login/%2Bpage.server.ts#L15-L20
- https://github.com/cmintey/wishlist/blob/v0.69.0/src/routes/setup-wizard/%2Bpage.server.ts#L5-L10
- https://github.com/cmintey/wishlist/blob/v0.69.0/src/routes/signup/%2Bpage.server.ts#L14-L15
- https://www.vulncheck.com/advisories/wishlist-through-0.69.0-open-redirect-via-redirectto-parameter