# Delete anyone's content spotlight remotely.

GraphQL DeleteStorySnaps mutation authorized only by snap id, letting any user delete another user's Spotlight video by swapping the id.

- Payout: $15,000
- Severity: high
- Program: Snapchat
- Found by: prickn9
- Disclosed: 2023-03-06
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/1819832
- Library page: https://bugbountylibrary.com/r/h1%3A1819832
- Tags: area:web domain:api domain:web impact:integrity kind:bounty platform:hackerone sev:high tech:graphql vuln:access-control vuln:idor

**Target:** accounts.snapchat.com GraphQL DeleteStorySnaps mutation
**Root cause:** The deleteStorySnaps mutation trusts the client-supplied snap id without verifying ownership, so any authenticated user can delete arbitrary Spotlight stories.
**Steps:**
1. Log in at `https://my.snapchat.com/myposts` and intercept traffic with Burp.
2. Click delete on own post; capture GraphQL request `{"operationName":"DeleteStorySnaps","variables":{"ids":["<id>"],"storyType":"SPOTLIGHT_STORY"},...}`.
3. Obtain victim snap id from public URL `https://story.snapchat.com/spotlight/<id>`.
4. Replace `ids` value with victim id and forward request; victim's Spotlight video is deleted.
**How found:** Noticed the delete request carried a raw snap id and that the same id is exposed in public spotlight URLs, then swapped it for another user's id.
**Exploitation:** Any authenticated user replays the delete mutation with a victim's publicly visible spotlight id; no ownership check, so the story is removed server-side.
**Insight:** GraphQL mutations that take object ids as variables often skip per-object ownership checks; harvest ids from public share URLs and test delete/edit mutations cross-account.

## Proof of concept (copied exactly from the original report)

**Spotlight URL exposing target video id**

```
https://story.snapchat.com/spotlight/█████
```

