Skip to content
XSS Disclosed report Intermediate

Stored XSS in profile activity feed messages

A stored cross-site scripting flaw existed in the profile and crew feed endpoints because certain obscure characters were not converted to HTML entities. An attacker could insert and run their own JavaScript in those feeds.

alexbirsan Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium View original
  • Triaged in 51 days
  • Fixed in 3 months
  • Paid in 2 months
  • Disclosed after 3 months

Summary by the program

The researcher was able to demonstrate a Stored XSS vulnerability in the Profile and Crew Feed endpoints. The exploit string worked because the researcher realized that certain obscure characters were not being converted to HTML entities properly. The exploit string was †‡•<img src=a onerror=javascript:alert('hacked')>…‰€. This behavior allowed the researcher to insert and run his own JavaScript.

We were able to update our code to properly filter characters like the ones in the exploit string.

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

Impact

An attacker could run their own JavaScript in the profile and crew feed pages.

What the attacker needed

Access to profile or crew feed endpoints

The fix

The code was updated to properly filter the characters used in the exploit string.

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 (XSS) is when a website lets an attacker sneak their own JavaScript code into a page that other people view. Here, the site failed to neutralise some unusual characters, so a crafted message could run code in a victim's browser.

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.