Dom based xss on https://www.rockstargames.com/ via `returnUrl` parameter
A DOM-based cross-site scripting flaw existed in the Videos section of the GTAOnline site, apparently only on non-English versions, through the returnUrl parameter in the logout function. An attacker could run script in a victim's browser in the context of the site.
- Triaged in 8 hours
- Fixed in 30 days
- Paid in 24 hours
- Disclosed after 15 months
Summary by the program
In this report, the researcher identified a DOM-Based Cross-Site Scripting vulnerability in the Videos section of the GTAOnline site that appeared to only be exploitable on non-English versions of the site, such as /br/. The root cause appeared to lay in the ReturnUrl parameter in the logout function. Thanks to this report we were able to resolve this issue.
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 page read the returnUrl parameter from the URL and inserted it into the page without proper sanitisation, so script in that value executed.
Impact
An attacker could run script in a victim's browser on the site, though the report says it appeared to work only on non-English versions such as /br/.
What the attacker needed
Victim visits a crafted link; non-English site version
The fix
The issue was resolved after the report.
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, or XSS, lets an attacker slip their own JavaScript into a page so it runs in a victim's browser as if the site had written it. Here the page took a value from the web address, the returnUrl parameter, and used it in a way that let script run. The catch was that it seemed to work only on some non-English versions of the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.