Skip to content
XSS Write-up Intermediate

Exploiting Self XSS

A stored XSS and an IDOR were chained; the XSS alone was self-XSS, and the IDOR let an attacker act on other users' suppliers.

Shuaib Oladigbolu Follow

Published on footstep.ninja

In this post, I’ll be talking about an interesting bug chain I discovered a few months ago; Stored XSS + IDOR (Cross Site Scripting and Insecure Direct Object Reference respectively).

Shuaib Oladigbolu, on footstep.ninja

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 stored XSS was not sanitised and the IDOR lacked ownership checks, allowing cross-user actions.

Impact

An attacker could run JavaScript in another user's session via the stored XSS and IDOR chain.

How it was found

  1. Find an IDOR that allows viewing, editing and deleting other users' suppliers.

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.

XSS lets an attacker run JavaScript in another browser. Here the stored XSS was self-XSS, not useful alone. A separate IDOR let the attacker act on other users' suppliers, enabling the chain.

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 Shuaib Oladigbolu

View all

4 more disclosed reports, 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.