Skip to content
XSS Disclosed report Intermediate

Stored XSS via Send crew invite

The crew invite endpoint failed to properly filter or escape unexpected characters in the invitation message body, allowing an attacker to inject a stored cross-site scripting payload. An attacker could modify the request in-flight to bypass filters and execute script in the context of users who viewed the invitation.

fa1rlight Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 3 months
  • Paid in 3 days
  • Disclosed after 3 months

Summary by the program

In this report, the researcher was able to demonstrate a vulnerability in our Crew Invite mechanism that could have allowed an attacker to carry out a Stored XSS attack. By modifying a request in-flight and injecting unexpected characters in the Invitation message body, it was possible to escape our filters and perform the attack. To fix this, we have updated our anti-XSS efforts site-wide, and additionally ensured that we are filtering and escaping control characters and other unexpected characters on this endpoint.

The original report as published on HackerOne, by fa1rlight. 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 invitation message body was not correctly filtered or escaped for control and other unexpected characters, allowing stored script to be saved and later rendered.

Impact

An attacker could carry out a stored XSS attack through the crew invite mechanism, potentially running script in the browser of users who viewed the invitation.

What the attacker needed

Ability to send a crew invite; modify the request in-flight; victim views the invitation

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.

Stored cross-site scripting (XSS) is when an attacker saves malicious code, such as JavaScript, into a website's data, and the site later shows that code to other people without making it safe. Here, the invitation message field let unexpected characters through, so the saved code could run in a victim's browser. The fix was to filter and escape those characters and improve anti-XSS protections across 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 fa1rlight

View all

1 more disclosed report, 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.