HTTP header injection
HTTP header injection is a general class of web application security vulnerability which occurs when Hypertext Transfer Protocol (HTTP) headers are dynamically generated based on user input. Header injection in HTTP responses can allow for HTTP response splitting, session fixation via the Set-Cookie header, cross-site scripting (XSS), and malicious redirect attacks via the location header. XSS attacks can be blocked with the use of a browser extension such as NoScript or Malwarebytes Browser Guard.
HTTP header injection is a general class of web application security vulnerability which occurs when Hypertext Transfer Protocol (HTTP) headers are dynamically generated based on user input. Header injection in HTTP responses can allow for HTTP response splitting, session fixation via the Set-Cookie header, cross-site scripting (XSS), and malicious redirect attacks via the location header. XSS attacks can be blocked with the use of a browser extension such as NoScript or Malwarebytes Browser Guard. ==References==
References
No reference rows published for this article.
Cite this article
MLA
"HTTP header injection." encyclopegia.org, 2026, https://encyclopegia.org/wiki/http-header-injection. Accessed 24 November 2026.
Chicago
"HTTP header injection." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/http-header-injection.
APA
encyclopegia.org. (2026). HTTP header injection. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/http-header-injection
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON