Skip to content
XSS Write-up Beginner

Blind XSS: A Tale of Curiosity

The author found that the support chat widget on a website reflected HTML and script input, but the payload only executed in their own browser (self-XSS). They could not confirm that support staff or the third-party chat provider would ever view the message, so the impact remained unproven.

medium.com

Published on medium.com

I came across a post by Dan Barahona on LinkedIn and noticed that ApiSec University was offering the APIsec Certified Practitioner (ACP) certification exam for free. I found it very interesting and decided to register.

negan0, 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 chat widget did not properly encode or sanitise user-supplied HTML before displaying it, allowing script to run in the sender's own browser.

What the attacker needed

Victim types the payload themselves; chat widget renders raw HTML

The fix

The chat widget should encode or sanitise user input before displaying it; the author notes the site replaced the chat with an AI assistant but says the self-XSS still exists.

How it was found

  1. Open the website and go to the support chat widget in the right corner.
  2. Enter HTML tags to check if they are rendered.
  3. Enter a script payload to see if it executes.
  4. Submit a payload that sends cookies to a webhook.
  5. Observe that the payload runs in your own browser and sends your cookies.
  6. Note that the chat shows 'All agents are busy' and no one else views the message.

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.

Cross-site scripting (XSS) is when a website displays user input as code, so a script can run in someone's browser. Self-XSS means the script only runs for the person who typed it, not for other users. Here, the chat box showed the author's own script back to them, but a real support agent never saw it run.

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.