---
id: 7659
title: "Remote code execution on Discord Desktop"
source_domain: hacktron.ai
source_url: "https://www.hacktron.ai/blog/discord-rce"
published_at: "2022-07-29T00:00:00Z"
tags: ["rce", "vulnerability-research", "xss", "discord", "electron", "csp-bypass", "desktop-app"]
phying_url: "https://phying.com/item/7659"
lang: en
---

# Remote code execution on Discord Desktop

## Summary

A detailed walkthrough of chaining XSS with CSP bypasses and Electron misconfigurations to achieve full remote code execution on the Discord Desktop client, with lessons for Electron app hardening.

## Intelligence Metadata

- **Sources:** hacktron.ai
- **Published:** 2022-07-29T00:00:00Z
- **Original:** https://www.hacktron.ai/blog/discord-rce
- **Phying News:** https://phying.com/item/7659
