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