security
vulnerability_error
ai_generated
true
Unvalidated redirect to external URL
ID: security/open-redirect
85%Fix Rate
88%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
| any | active | — | — | — |
Root Cause
Application redirects to attacker-controlled URL.
genericWorkarounds
-
92% success Validate redirect URL against allowlist of permitted domains
-
88% success Use relative URLs for redirects instead of absolute
Dead Ends
Common approaches that don't work:
-
Check if URL starts with https only
82% fail
Attacker can use https://evil.com
-
Blocklist known bad domains
78% fail
Attacker uses new domain