Skip to content
XSS Write-up Beginner

Stored XSS in gameskinny

A stored cross-site scripting vulnerability existed in GameSkinny's post editor, allowing an attacker to inject a script that executes when a draft is previewed or shared with editors. This could hijack editor sessions or cookies.

Friendly Follow

Published on medium.com

After weeks and weeks of e-mailing GameSkinny and tweeting at them to fix their security issues, they decided to not answer me (I think). That is very unfortunate.

Friendly, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute scripts in the context of other users, including editors, potentially hijacking their sessions or cookies.

What the attacker needed

A free account; victim views the draft or preview

How it was found

  1. Create an account on gameskinny.com.
  2. Go to the post editor page.
  3. Insert a script payload into the post content.
  4. Save the changes and click the preview button.
  5. Observe the script executing in the browser.

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 write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website lets someone insert harmful code that runs in other people's browsers. Here, the post editor saved a script and ran it when the draft was previewed, so an attacker could steal a logged-in user's session.

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 Friendly

View all

7 more disclosed reports, best first.

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.