Skip to content
XSS Write-up Beginner

Apple Bug bounty writeups XSS(2021)

A support ticket system allowed an attacker to upload an SVG image containing an XSS payload, which executed when a victim viewed the image on a mobile device. This could let the attacker run script in the victim's browser session.

Takashi Suzuki Follow

Published on takashi-suzuki.medium.com

https://hackerone.com/kamikaze?type=user

Takashi Suzuki, on takashi-suzuki.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 script in a victim's browser when the victim viewed the malicious SVG on a mobile device, potentially compromising the victim's session.

What the attacker needed

Ability to create a support ticket; victim views the SVG on a mobile device

The fix

The issue was fixed, as the timeline states it was fixed on 31/03/2021.

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 an attacker sneak in code that runs in another user's browser. Here, an image file was not properly checked, so it could carry hidden code that ran when someone opened it on a phone.

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 Takashi Suzuki

View all

1 more disclosed report, best first.

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.