Skip to content
XSS Disclosed report Beginner

#1 XSS on watchdocs.indriverapp.com

A reflected cross-site scripting vulnerability existed on a webview endpoint because the redirect parameter was not properly sanitised. An attacker could craft a link that executes JavaScript in a victim's browser.

maxdha Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 10 months
  • Paid in 6 days
  • Disclosed after 10 months

Summary by the program

The report

Summary:

XSS on watchdocs.indriverapp.com

Steps To Reproduce:

  1. Go to https://watchdocs.indriverapp.com/webview/v1/refresh-jwt?redirect=%22%3E%3Cimg%20src=faw%20onerror=alert(1)%3E
  2. An alert window will popup
image.png
image.png From the original on HackerOne

Impact

Allow executing js code on users browsers

The original report as published on HackerOne, by maxdha. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute JavaScript in a victim's browser.

What the attacker needed

Victim clicks a crafted link

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 report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website takes input from a URL and puts it into the page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the redirect parameter was reflected into the page, allowing a script to run when a victim opened a crafted link.

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 maxdha

View all

3 more disclosed reports, best first.

More from inDrive

View all

The newest disclosed reports for this program.

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.