The markdown editor within itch.io was vulnerable to XSS in edit mode.
When a user accepts an admin invite to a project, they are automatically redirected to the project's home page in edit mode.
This vulnerability allowed an attacker to embed a malicious script in the game’s description, which would make a request to the attacker's GitHub OAuth callback URL—effectively linking the victim's itch.io account to the attacker's GitHub account.
- Attacker creates a malicious project
- Sends an admin invite to the victim
- Victim accepts (one-click takeover)
- Payload executes automatically
- Attacker's GitHub account is linked to the victim's itch.io account
demo.mp4
Disclaimer: Bug has been patched and itch.io agreed to public disclosure