Skip to content
XSS Write-up Beginner

Bug Bounty Journey — Valid Report Part 3

A reflected HTML injection was found in an id parameter, but a WAF blocked attempts to escalate it to cross-site scripting. The impact was limited to injecting HTML markup, rated low severity.

medium.com

Published on medium.com

In this journey, I will share my experience with a valid report I submitted. This will be a series until I discover new vulnerabilities. 😊 Let’s begin!

0xF3r4t, 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 id parameter was reflected into the page without proper output encoding, allowing HTML markup to be injected.

Impact

An attacker could inject arbitrary HTML into the page, but a WAF prevented JavaScript execution, so the impact was limited to HTML injection and rated low severity.

What the attacker needed

Access to the application; victim visits a crafted URL

How it was found

  1. Review Burp Suite history to find an endpoint with an id parameter.
  2. Visit the URL and observe that the id parameter is reflected.
  3. Try injecting characters and payloads to test for reflected XSS.
  4. Confirm that only HTML injection is possible because a WAF blocks XSS.

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.

HTML injection is when a website puts user input into a page without cleaning it, so an attacker can add their own HTML elements. This is less dangerous than cross-site scripting (XSS), where an attacker runs JavaScript in the victim's browser. Here, a web application firewall (WAF) stopped the JavaScript part, so only harmless HTML could be added.

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.