DOM XSS on https://www.rockstargames.com/GTAOnline/feedback
A DOM-based cross-site scripting flaw existed on the GTA Online feedback page, and the same vulnerable code was reused elsewhere on the sub-site. An attacker could run script in a victim's browser in the context of the Rockstar Games site.
- Triaged in 21 hours
- Fixed in 3 months
- Paid in 23 hours
- Disclosed after 4 months
Summary by the program
In this report, the researcher identified a DOM-based Cross-Site Scripting vulnerability in the /GTAOnline/feedback endpoint. As we worked together on resolving this matter, the researcher helped us identify other parts of the GTA Online sub-site that suffered from the same vulnerability due to code re-use. The vulnerability has now been fully resolved.
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's client-side JavaScript inserted user-controlled input into the DOM without proper sanitisation, and the same code was reused on other pages.
Impact
An attacker could execute script in a victim's browser on the Rockstar Games domain, though the text gives no details on what that script could then do.
What the attacker needed
Victim interacts with the vulnerable page
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) lets an attacker slip their own JavaScript into a page other people view, so it runs as if the site wrote it. The 'DOM-based' kind happens when the page's own JavaScript takes something from the address bar or page and inserts it into the page without cleaning it. The result is that a crafted link can make the site run the attacker's code 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.