HTTP response splitting
HTTP response splitting is a form of web application vulnerability, resulting from the failure of the application or its environment to properly sanitize input values.[src] It can be used to perform cross-site scripting attacks, cross-user defacement, web cache poisoning, and similar exploits.[src] The attack consists of making the server print a carriage return (CR, ASCII ) line feed (LF, ASCII ) sequence followed by content supplied by the attacker in the header section of its response, typically by including them in input fields sent to the application.[src] Per the HTTP standard (RFC 2616), headers are separated by one CRLF and the response's headers are separated from its body by two.[src] Therefore, the failure to remove CRs and LFs allows the attacker to set arbitrary headers, take control of the body, or break the response into two or more separate responses—hence the name.[src]
HTTP response splitting is a form of web application vulnerability, resulting from the failure of the application or its environment to properly sanitize input values.[src] It can be used to perform cross-site scripting attacks, cross-user defacement, web cache poisoning, and similar exploits.[src] The attack consists of making the server print a carriage return (CR, ASCII ) line feed (LF, ASCII ) sequence followed by content supplied by the attacker in the header section of its response, typically by including them in input fields sent to the application.[src] Per the HTTP standard (RFC 2616), headers are separated by one CRLF and the response's headers are separated from its body by two.[src] Therefore, the failure to remove CRs and LFs allows the attacker to set arbitrary headers, take control of the body, or break the response into two or more separate responses—hence the name.[src]
10 sentences · 10 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"HTTP response splitting." encyclopegia.org, 2025, https://encyclopegia.org/wiki/http-response-splitting. Accessed 25 November 2026.
Chicago
"HTTP response splitting." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/http-response-splitting.
APA
encyclopegia.org. (2025). HTTP response splitting. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/http-response-splitting
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON