Go Vulnerability Database
GO-2023-1567
Open redirect in github.com/caddyserver/caddy/v2
Details
Due to improper request sanitization, a crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/caddyserver/caddy/v2 | All versions before 2.5.0-beta.1 (fixed in 2.5.0-beta.1) |