#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.
- 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:
- Visit https://watchdocs.indriverapp.com/webview/v1?phone=████████&token=██████████&service=cargo&locale=en&jwt=%22%3E%3Cimg%20src=raw%20onerror=alert(%22hackerone%22)%3E#/
- You'll get an XSS alert
Supporting Material/References:
███
Impact
Execute javascript on user browser
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.