Skip to content
XSS Write-up Beginner

How Did I Easily Find Stored XSS at Apple And Earn $5000 ?

A stored cross-site scripting (XSS) vulnerability existed in the 'Location' field of Apple Discussions user profiles. An attacker could inject a script that executes when other users view the profile, potentially stealing their cookies.

Crypto Follow

Published on medium.com

Bounty$5,000 View original

Hello there ! Today we’ll talk about stored XSS which I found in Apple.

Crypto, 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

Cookies of users and employees could be stolen, though the text does not specify any defences that might have limited the attack.

What the attacker needed

A free account on discussions.apple.com; victim views the attacker's profile

How it was found

  1. Register on discussions.apple.com and create a profile.
  2. Edit the 'Location' section of the profile.
  3. Insert an XSS payload into the 'Location' field.
  4. Save the profile and view it to see the script execute.

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.

Stored XSS is when a website saves harmful code you type (like in a profile field) and later shows it to other people without cleaning it. When someone views the page, their browser runs the code, which can steal their login cookies or do other damage.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Apple

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.