Skip to content
XSS Write-up Beginner

blind XSS vulnerability that performs actions on behalf of the ad

A feedback form stored user input that was later rendered as HTML in an internal review panel, so injected markup executed as JavaScript. An attacker could run script in the reviewer's browser and send data such as the page's domain to an external server.

mo7med elta7an Follow

Published on medium.com

During one of my bug bounty sessions, I decided to test a feature that many researchers usually ignore: the Feedback Form.

mo7med elta7an, 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 review panel rendered stored feedback as raw HTML without encoding or sanitising it.

What the attacker needed

Ability to submit feedback; staff review the feedback in a panel

How it was found

  1. Find the feedback form and submit a message containing HTML markup.
  2. Wait for the content to be reviewed in the internal panel.
  3. Observe the markup being rendered and the script running in the reviewer's browser.
  4. Confirm execution by receiving the outbound request on an external server.

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 feedback form saved whatever a user typed and later showed it to staff in a review screen. The site treated that text as a web page instead of plain words, so hidden code inside the message ran in the reviewer's browser. This is called cross-site scripting: user input becomes code that the browser executes.

What is XSS?

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

More by mo7med elta7an

View all

1 more disclosed report, best first.

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.