Skip to content

Instantly share code, notes, and snippets.

View real2two's full-sized avatar
Creating something cool

Two real2two

Creating something cool
View GitHub Profile
@real2two
real2two / writeup.md
Last active November 18, 2025 03:15
How a SQL injection vulnerability on Discord gave access to first-party Discord activity tokens

Throughout April 6, 2024 to April 8, 2024, I discovered a SQL injection vulnerability shared across multiple first-party Discord activities.

What are Discord activities?

Discord released a feature called "Activites" where you can play games built into Discord.

Behind the scenes, they embed a website (aka the "activity") within Discord to display the game.

How I found the vulnerability