Skip to content
Back to skills

Crlf Injection

ASecurity

CRLF injection / HTTP response splitting — injecting carriage-return/line-feed into response headers (Location, Set-Cookie, custom) to inject headers, set cookies, poison caches, split responses, or reflect XSS into the body. Also log injection. Tier 1. Payloads: payloads/crlf-http.md. Use when input is reflected into a response header or redirect.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securitybackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill crlf-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crlf Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Crlf Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-crlf-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-crlf-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: crlf-injection
description: "CRLF injection / HTTP response splitting — injecting carriage-return/line-feed into response headers (Location, Set-Cookie, custom) to inject headers, set cookies, poison caches, split responses, or reflect XSS into the body. Also log injection. Tier 1. Payloads: payloads/crlf-http.md. Use when input is reflected into a response header or redirect."
---

# CRLF Injection / HTTP Response Splitting

Inject `%0d%0a` into anything reflected into a response header. Payloads: `${CLAUDE_PLUGIN_ROOT}/payloads/crlf-http.md`.

## Trigger phrases
`crlf injection, http response splitting, header injection, set-cookie injection, log injection`

## Method
1. Find reflections into `Location`/`Set-Cookie`/custom headers (redirect params, language/host values).
2. Inject: `%0d%0aSet-Cookie:role=admin`, `%0d%0a%0d%0a<svg onload=alert(1)>` (body → reflected XSS when inline script blocked), `%0d%0aX-XSS-Protection:0`.
3. **Bypass:** `%0d%0a` variants, `%0a`, `%0d`, unicode/overlong (`%E5%98%8A%E5%98%8D`), double-encoding (`%250d%250a`).
4. Impacts: header/cookie injection, cache poisoning, response splitting, reflected XSS, log injection.

## Escalation
→ reflected XSS, session fixation, cache poisoning (→ `web-request-smuggling`/`web-cache-attacks`).

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.

## Evidence
The injected CRLF payload and the resulting header/cookie/body/cache effect.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.