Using request.host or request.headers['Host'] Without Validation
Flask views directly access Host header: host = request.host or request.headers.get('Host'). Attackers manipulate Host header in HTTP requests. Used in URL construction for redirects or emails, enabling cache poisoning, password reset poisoning, SSRF, or web cache deception attacks.