Vulnerabilities
Probe URLs for Host header injection and CORS
Host header injection and CORS checks on URL lists.
overview
What xforwardy does
xforwardy probes where an app trusts the Host header. Crafted Host and forwarding headers surface injection that enables cache poisoning, password-reset poisoning, and attacker-controlled routing. The same pass checks CORS misconfiguration.
Interface is two inputs: -u for one target, -i for a URL file. Drop it on crawler or live-host prober output to cover a whole surface without per-endpoint hand testing.
Pass -u for one host or -i for a URL file from httpx or a crawler; the node writes FILE plus FOLDER. Route flagged hosts into triage beside other findings. Prefer nuclei when you need broad template coverage beyond Host and CORS.
use cases
Where xforwardy fits
Detect Host header injection points
Probe a URL with manipulated Host and forwarding headers to flag where the app reflects or trusts them, the precondition for cache and reset poisoning.
Sweep a discovered surface for the bug
Feed a file of live URLs so a whole crawled or probed surface gets the Host-header check in one node instead of endpoint by endpoint.
Catch CORS misconfiguration too
Run the built-in CORS check alongside the Host-header test so overly permissive cross-origin policies surface in the same pass.
Route findings into triage
Emit results downstream so flagged misconfigurations land alongside other vulnerability findings for review and prioritization.
reference
xforwardy inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| target-url | STRING | -u | URL of target website. |
| target-urls | FILE | -i | Input file of the URLs. |
Showing key inputs. xforwardy exposes 2 inputs in total.
example
Run xforwardy
# scan a URL list for Host header injection and CORS issuesxforwardy -i urls.txt[+] https://www.example.com - Host header reflection suspected[+] https://app.example.com/login - possible Host header injection[+] https://api.example.com - CORS ACAO reflects Origin[-] https://static.example.com - no Host/CORS issue flagged[*] https://staging.example.com - interesting forwarding header behavior[*] 3 findings across 5 URLsguidance
Choosing xforwardy
Use xforwardy for Host header injection and CORS checks across URLs. Run nuclei alongside for broader template-based coverage.
nuclei
Template scanner with Host-header and CORS templates among many others. Broader, less specialized than xforwardy.
x8
Hidden parameter discovery. Complements xforwardy when an injection needs a parameter as well as a header.
faq
xforwardy questions
related
More Vulnerabilities tools
agentsleak
Black Hat Arsenal runtime security for AI coding agents, evaluated offline over recorded action events.
commix
Automates OS command injection detection and exploitation.
dalfox
Parameter mining and XSS testing with headless verification.
dnsreaper
Subdomain takeover scanner with cloud-zone intake.
find-gh-poc
Locate public CVE proof-of-concept repositories on GitHub.
golemhalt
Black Hat Arsenal reference monitor for coding agents, inventoried as a policy and provider corpus.
Run xforwardy yourself
A file of URLs feeds xforwardy, which probes each for Host header injection and CORS misconfiguration and writes the flagged findings as an output.
Facts on this page come from the live Trickest tool library.