Web Application Bug Hunting is not about running tools blindly. It’s about understanding **how a web application processes input**, identifying weak points, and then exploiting those weaknesses in a controlled and ethical way.
The application failed to sanitise user input in a search parameter and a comment section, allowing reflected and stored cross-site scripting. An attacker could execute JavaScript in a victim's browser to steal session cookies or hijack accounts.
Published on medium.com
This week marked a shift from basic reconnaissance to real-world web application security testing.
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 application rendered raw user input without output encoding or input validation.
Impact
An attacker could steal session cookies, hijack user accounts, and redirect users to malicious sites; stored XSS affects every user without interaction.
What the attacker needed
Victim visits the page; no special access needed
The fix
The text recommends output encoding, input validation, and a Content Security Policy, but does not state that a fix was applied.
How it was found
- Inject a script into the search field.
- Observe the browser alert confirming execution.
- Inject a malicious script into a comment.
- The script executes automatically for every visitor.
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) happens when a website shows user input without cleaning it first, so a malicious script runs in other people's browsers. Here, typing a script into a search box or comment field made it execute, which could let an attacker steal login cookies or take over accounts.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.