Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilityproof-of-concept-releaseprivilege-escalation-methodwidely-deployed-product-advisory

Discord Desktop RCE Chain Exploited XSS, CSP Bypass, and V8 Bug

Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen May 25, 2026

Discord Desktop RCE Chain Exploited XSS, CSP Bypass, and V8 Bug

Researchers disclosed a remote code execution chain against Discord Desktop that combined a cross-site scripting flaw in Discord embeds, a Chromium content security policy bypass, and a V8 engine vulnerability to achieve code execution on the client. The attack began with XSS in a Vimeo embed rendered inside Discord, then used an older Chromium CSP bypass to load attacker-controlled content despite Vimeo’s restrictive policy. The write-up says Discord Desktop was running Electron 9 with Chromium 83, with nodeIntegration disabled and contextIsolation enabled, but without an explicit sandbox=true setting on the main window.

The researchers then abused Discord’s handling of the new-window event and redirect behavior to obtain an unsandboxed renderer, creating the conditions needed to exploit a known V8 issue tracked as Chromium bug 1196683 and reach code execution. The report credits collaboration with Harsh Jaiswal and ptrYudai, and links the exploit chain to a V8 code review reference associated with the underlying browser-engine bug. Discord later mitigated the issue by upgrading Electron and fixing the new-window configuration so external sites could no longer load in unsafe new windows.

Why it matters

Impact assessment

This story describes a client-side remote code execution chain against Discord Desktop, affecting users of the desktop application version built on Electron 9 and Chromium 83. The impact is severe because successful exploitation can lead to arbitrary code execution on an end-user workstation, enabling malware delivery, credential theft, and follow-on compromise of enterprise endpoints.

The exposure appears tied to a specific historical application configuration rather than a currently broad internet-wide flaw, but the attack path is realistic because it can be triggered through crafted content delivered in Discord chat. The reference does not provide evidence of in-the-wild exploitation; it documents researcher-developed proof-of-concept exploitation and a vendor remediation.

Affected populations

  • Discord Desktop users
  • Organizations that allow Discord Desktop on managed endpoints
  • User populations exposed to untrusted links and embeds in Discord chats

Severity and business impact

  • Arbitrary code execution on the client endpoint
  • Potential credential theft, malware installation, persistence, and lateral movement from compromised workstations
  • Reputational and operational risk for environments where Discord is used on corporate assets

Scope and exploitation status

  • Targeted to Discord Desktop, not the web client
  • Dependent on a vulnerable Electron/Chromium build and unsafe window-handling behavior
  • No confirmed in-the-wild exploitation stated in the source
  • Proof of concept demonstrated by launching Calculator on the victim host

Extracted entities and facts

  • Product: Discord Desktop
  • Framework: ElectronJS
  • Browser engine: Chromium 83.0.4103.122
  • Researchers/entities: Mohan, Harsh Jaiswal, ptrYudai, Masato
  • Trigger vector: crafted link in Discord chat leading to malicious embed execution
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jul 29, 2022 – May 25, 2026
  1. May 25, 20266mo ago

    Chromium V8 exploit bug 1196683 patch reviewed

    A Chromium Gerrit review was created for change 2820971 in the V8 project, corresponding to the bug later referenced by the Discord RCE research as Chromium bug 1196683.

    Chromium Review Googlesource
  2. Jul 29, 20224y ago

    Discord upgrades Electron and fixes new-window issue

    After the research, Discord updated Electron and corrected the new-window misconfiguration so external sites could no longer load in new windows, blocking the exploit chain described in the write-up.

    Remote code execution on Discord Desktop | Hacktron AI
  3. Jul 29, 20224y ago

    Researchers achieve RCE on Discord Desktop

    Using the embed XSS, CSP bypass, Discord's unsafe new-window behavior, and the V8 bug 1196683 with help from ptrYudai, the researchers achieved remote code execution against Discord Desktop.

    Remote code execution on Discord Desktop | Hacktron AI
  4. Jul 29, 20224y ago

    Researchers identify XSS in Discord Vimeo embed

    The researcher, working with Harsh Jaiswal, found a cross-site scripting issue in a Vimeo embed rendered by the Discord desktop application and chained it with an old Chromium CSP bypass to load attacker-controlled content.

    Remote code execution on Discord Desktop | Hacktron AI
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Discord
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.