Skip to content
XSS Write-up Beginner

I Found an XSS vulnerability in QuickRide — Here’s how you can too!

The email unsubscribe page reflected the phone number parameter without sanitisation, so a script tag in the URL executed in the browser. An attacker could run script in a victim's session to steal sessions, inject fake login pages or alter content.

Vivek ps Follow

Published on infosecwriteups.com

Imagine casually browsing a website when you stumble upon a security flaw so obvious that it feels unreal.

Vivek PS, on infosecwriteups.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 unsubscribe page echoed the phone parameter into the HTML response without encoding or validating it.

Impact

An attacker could steal user sessions leading to account takeovers, inject fake login pages for phishing, or modify website content; the text does not show a working theft, only the popup.

What the attacker needed

Victim clicks a crafted link

The fix

The issue was reported and the company patched it quickly.

How it was found

  1. Open the email unsubscribe link, which has a type and phone parameter.
  2. Replace the phone number value with a script tag.
  3. Load the modified URL and observe the alert popup.

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.

A website sometimes takes a value from the address bar and puts it straight onto the page. If that value is a small program (a script), the browser runs it as if the site itself wrote it. This is called cross-site scripting, and it lets an attacker act as the logged-in user.

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 Vivek ps

View all

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