Skip to content
XSS Write-up Beginner

The Multi-Bug Streak: Uncovering 4 Vulnerabilities on a Single Target

The profile description field reflected user input without filtering, allowing HTML injection and XSS. An SVG file upload bypassed script tag filters to execute XSS, and a delete post request lacked ownership checks, enabling deletion of any post via IDOR.

xelcezeri Follow

Published on medium.com

In bug bounty hunting, there is a golden rule: The more time you spend on a target, the more its secrets unfold. Many researchers move on after finding their first bug, but I prefer a “deep dive” approach.

samet, 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 missing input sanitisation and output encoding for profile descriptions, insufficient file upload validation for SVG content, and missing ownership checks on the post deletion endpoint.

What the attacker needed

A user account; ability to edit profile; ability to upload files; ability to create posts

How it was found

  1. Test the profile description field with simple characters like 123<>.
  2. Observe that the input is reflected directly without filtering.
  3. Inject HTML tags such as <h1> and <a> to confirm execution.
  4. Upload a malicious SVG file containing an XSS payload.
  5. Capture the delete post request and identify the POSTID parameter.
  6. Swap the POSTID with a victim's ID to delete their post.

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.

This report describes three types of web bugs. First, a profile text box let people type HTML and JavaScript that ran in other users' browsers (cross-site scripting, or XSS). Second, an image upload accepted SVG files that could contain scripts, bypassing filters that blocked script tags. Third, a delete button used a post ID that could be changed to delete someone else's post (insecure direct object reference, or IDOR).

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 xelcezeri

View all

5 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.