Skip to content
XSS Disclosed report Beginner

XSS STORED AT socialclub.rockstargames.com (add friend request from profile attacker)

A stored cross-site scripting flaw existed in the optional message field of the add-friend request feature. When a recipient accepted the malicious request, the injected script would execute in their browser.

ak1t4 Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 3 months
  • Paid in 14 days
  • Disclosed after 4.1 years

Summary by the program

In this report, the researcher discovered a Stored XSS vulnerability in the Add Friend functionality. It worked by filling the optional Message field with a XSS payload utilized an SVG object tag and some character escaping. When the recipient of the malicious friend request clicked or tapped the Accept button on the request, the payload would fire. This was resolved by utilizing anti-XSS libraries, and by stripping certain characters and HTML tags from user-provided input.

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

Impact

An attacker could run script in the context of a victim who accepted the request.

What the attacker needed

Victim accepts the friend request

The fix

The issue was fixed by using anti-XSS libraries and stripping certain characters and HTML tags from user-provided input.

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.

XSS is when a site lets an attacker slip code into a page others view. Here the friend-request message field did not clean up input, so a crafted message could run code when the victim clicked Accept.

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 ak1t4

View all

17 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.