Hacksplaining
  • For Teams
Log in Start Learning

Host Header Poisoning

Browsers send the web domain in the Host header of the HTTP request - but this header value is only informational. It is not used in routing and can be set any value an attacker chooses.

The Host Header
GET /login HTTP/1.1
Host: website.com
Connection: keep-alive
Content-Type: text/html
Hacksplaining

Defend your code.

Learn

All Lessons AI Prompt Injection SQL Injection XSS CSRF

Teams

For Teams Features Pricing FAQ

Resources

Glossary OWASP Top 10 PCI Compliance Book

Legal

Privacy Terms DPA Subprocessors

© 2026 Hacksplaining. Built with in Seattle, WA, USA

Need help? Reach out to support@hacksplaining.com