Skip to content
XSS Write-up Beginner

How i found 29 stored XSS in modern framework

The author found stored cross-site scripting (XSS) vulnerabilities in multiple input fields of a private bug bounty program by using payloads that bypassed common input validation filters. When the payloads were saved and the page was refreshed, they executed, allowing an attacker to run arbitrary JavaScript in the context of the victim's browser.

Dewanand Vishal Follow

Published on dewcode.medium.com

XSS is a most common vulnerability. It is easy to learn for a beginner but when it comes to modern applications then it makes hard for us to find and exploit.

Dewanand Vishal, on dewcode.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 application failed to properly sanitise user input before storing and later rendering it, allowing script execution.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser when they view the affected page, potentially leading to data theft or other malicious actions.

What the attacker needed

Access to the private program; ability to submit input to vulnerable fields

How it was found

  1. Identify input fields such as first name, surname, and info text.
  2. Submit payloads that attempt to bypass common filters (e.g., using event handlers or constructor tricks).
  3. Save the input and refresh the page to trigger the stored payload.

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.

Stored XSS happens when a website saves something dangerous you type (like a script) and later shows it to other people without cleaning it. The script then runs in their browser, letting the attacker do things like steal cookies or change the page. Here, the author tried many input fields and found that some did not properly filter out malicious code.

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 Dewanand Vishal

View all

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