Skip to content
XSS Disclosed report Intermediate

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.

netfuzzer Follow

Originally disclosed on HackerOne

Medium 5.4 View original
  • 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.

The original report as published on HackerOne, by netfuzzer. 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 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.

More by netfuzzer

View all

47 more disclosed reports, best first.

More from Rockstar Games

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.