Skip to content
XSS Write-up Intermediate

Blind XSS — How I Found It

A contact/support form stored user input and later rendered it as HTML in an internal staff dashboard and in HTML email notifications, without properly sanitising it. An attacker could submit a crafted message that ran JavaScript in a staff member's browser when the entry was viewed, and the author confirmed this with out-of-band callbacks.

medium.com

Published on medium.com

Blind XSS means that I couldn’t see the execution right away. Instead, my payloads got stored, and later triggered when a staff member viewed the data in an admin dashboard or an HTML email.

Mejbankadir, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the support form's stored input was rendered as HTML in the agent dashboard and email templates without adequate output encoding or sanitisation, and the sanitiser did not block all dangerous patterns.

Impact

A crafted support message could run JavaScript in a staff member's browser when viewed in the internal dashboard or an HTML email, though the author only demonstrated safe metadata collection rather than full account compromise.

What the attacker needed

Access to the public contact form; attacker-controlled collector server; staff member views the submission

How it was found

  1. Map public features and pick the contact/support form as a likely path into staff tools.
  2. Create a unique collector URL to detect any later execution.
  3. Submit plain text first to observe normal behaviour and confirm no callbacks.
  4. Try harmless HTML tags to see whether markup survives.
  5. Submit a beaconing payload that only reports back safely.
  6. Wait for collector hits and use beacon IDs and referrer data to identify which fields and surfaces executed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A blind cross-site scripting (XSS) bug is when a site saves what you type and later shows it to someone else, such as a support agent, without cleaning it first. The attacker never sees the code run, so they use a small script that quietly contacts a server they control to prove it executed. Here, a support form fed an internal dashboard and email templates, so a malicious message could run code in a staff member's browser.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.