Skip to content
XSS Disclosed report Beginner

#2 XSS on watchdocs.indriverapp.com

A reflected cross-site scripting flaw existed on a webview endpoint because a URL parameter was inserted into the page without proper encoding. An attacker could run JavaScript in a victim's browser by getting them to open a crafted link.

maxdha Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 10 months
  • Paid in 6 days
  • Disclosed after 10 months

Summary by the program

The report

Summary:

I've found an XSS on https://watchdocs.indriverapp.com/

Steps To Reproduce:

  1. Visit https://watchdocs.indriverapp.com/webview/v1?phone=████████&token=██████████&service=cargo&locale=en&jwt=%22%3E%3Cimg%20src=raw%20onerror=alert(%22hackerone%22)%3E#/
  2. You'll get an XSS alert

Supporting Material/References:

███

Impact

Execute javascript on user browser

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

Root cause

Likely the webview endpoint reflected a URL parameter into the HTML response without encoding it, allowing injected markup and script to execute.

Impact

An attacker could execute JavaScript in a victim's browser, though the report does not describe any further consequences.

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 puts something a user typed or clicked into a page without cleaning it first, so a malicious link can make the site run an attacker's code. Here, a value in the web address was placed into the page as if it were part of the page's code, so opening a prepared link could show an alert or do worse in the visitor's browser.

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.