Skip to content
XSS Write-up Beginner

Spokeo Bug bounty Experience

A reflected cross-site scripting vulnerability existed in the 'type' parameter of the purchase endpoint, allowing an attacker to inject script that executes in a victim's browser. The report author demonstrated the issue with a proof of concept and noted it was fixed after nine days without prior communication.

Nur A Alam Dipu Follow

Published on medium.com

Endpoint : All purchase type -> “/purchase?addrnum=6&q=6+130th+Ave+SE,+Bellevue,+WA+98005'&type=inject” parameter

Nur A Alam Dipu, 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 application reflected the 'type' parameter into the HTML response without proper output encoding or sanitisation.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser when the victim visits a crafted link, potentially leading to session theft or other client-side attacks.

What the attacker needed

Victim clicks a crafted link

The fix

The vulnerability was fixed by the vendor, as confirmed by the reporter after nine days.

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) is a flaw where a website inserts user-supplied text into its pages without proper cleaning, so a malicious link can make a victim's browser run attacker-controlled JavaScript. Here, the 'type' parameter in the purchase page URL was reflected back into the HTML, letting an attacker run script such as showing an alert or stealing session data.

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 Nur A Alam Dipu

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.