Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAchieve XSS in Discord page content
-
DeliveryInvoke window.legcord settings.setConfig bridge
-
ExploitInject --proxy-server and --ignore-certificate-errors into additionalArguments
-
ExecutionPersist malicious config to disk
-
PersistClient restart applies Chromium switches
-
ImpactIntercept and tamper all TLS traffic via MITM proxy
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration Configuration hardening
|
| Exploitation Conditions | Exploitation is strictly gated on a pre-existing cross-site scripting vulnerability in the Discord web page loaded by Legcord - the attacker needs script execution in that renderer context to reach the exposed window.legcord settings.setConfig IPC bridge (this is the AT:P attack requirement). The concrete injection target is the additionalArguments config key, into which --proxy-server and --ignore-certificate-errors Chromium command-line switches are written. Key limiting factors: (1) an independent Discord XSS must already exist and be exploitable; (2) the injected switches are launch-time Chromium arguments, so a client restart is generally required before the proxy/cert-bypass takes effect; (3) impact is confined to users running the vulnerable Legcord Electron client versions 1.1.0-1.3.0. These conditions mean the flaw is a privilege-escalation/impact-amplification primitive rather than a standalone remote compromise. |
| Impact | The input assigns a CVSS 4.0 base score of 9.1 (Critical), but the vector itself tempers real-world urgency: AC:H and AT:P mean exploitation is not self-contained - it requires a pre-existing, independent cross-site scripting flaw in Discord's web content before the setConfig bridge can be abused. PR:N/UI:N confirm that once that XSS prerequisite is met, no authentication or user interaction is needed. No EPSS score, no CISA KEV listing, and no confirmed public exploit were provided, so there is no evidence of active or widespread exploitation - the exploitation status is 'no public exploit identified at time of analysis.' SSVC-style reasoning: technical impact is total (traffic interception plus tampering via a MITM proxy with certificate validation disabled), but the attack is NOT automatable because it is gated on chaining a separate Discord XSS and typically a client restart to apply the injected Chromium switches. Net assessment: a genuinely high-impact confidentiality/integrity flaw, but practical likelihood is moderated by the XSS prerequisite and the product's niche footprint, placing it below drop-everything emergencies absent a known Discord XSS chain. |
| Exploit ScenarioDerived | An attacker first obtains script execution inside the Discord page rendered by Legcord (e.g., via a Discord XSS in a message, embed, or profile field). From that context they call window.legcord.settings.setConfig to append --proxy-server and --ignore-certificate-errors to additionalArguments; after the client relaunches, all of the victim's client traffic is silently routed through the attacker's intercepting proxy with TLS validation disabled. No public exploit was identified in the provided data, though VulnCheck has published an advisory and the vendor GitHub issue documents the mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Configuration injection in the Legcord Electron Discord client 1.1.0 through 1.3.0 lets JavaScript executing inside the loaded Discord page write arbitrary configuration keys through the exposed window.legcord settings.setConfig bridge, and the practical payload is the additionalArguments key - persistently adding the Chromium switches --proxy-server and --ignore-certificate-errors so that all client traffic is routed through an attacker-controlled interception proxy with TLS validation disabled. The flaw carries a Critical CVSS 4.0 score of 9.1, but exploitation is not self-contained: it is gated on a pre-existing, independent cross-site scripting flaw in the Discord web content the client renders (Attack Requirements: Present / AC:H), making it an impact-amplification and privilege-escalation primitive rather than a standalone remote compromise, and the attacker's writes are launch-time arguments that generally need a client restart before the proxy and certificate bypass take effect. There is no public exploit code identified at time of analysis and no CISA KEV listing, so the realistic risk is concentrated in users running the affected Legcord builds who are also exposed to a workable Discord-side XSS.
RemediationAI
No vendor-released patch identified at time of analysis: the available references point to the project issue tracker and to the vulnerable v1.3.0 source files rather than to a fixed release, so confirm current status at https://github.com/Legcord/Legcord and https://github.com/Legcord/Legcord/issues/1163 before assuming a safe version - if a fix has since been tagged, install that release. Because the root cause is an unvalidated renderer-to-main configuration write, the most effective compensating control is to restrict the setConfig bridge: remove or allowlist the keys a Discord-origin caller may set and reject any write to additionalArguments (or to any key that feeds process launch arguments), accepting that legitimate settings changes must then be made through the trusted application UI rather than from page script. Sanitize the additionalArguments value itself if it must remain writable, stripping --proxy-server and --ignore-certificate-errors; this is a targeted fix with little functional cost since these switches should never be settable by page content. Additionally, inspect and clear any Legcord configuration file entries that already contain proxy or certificate-bypass switches before restarting, since the injected values persist and activate on the next launch; doing so is non-destructive but will not prevent re-injection while the vulnerable version remains installed. Reducing Discord-side script injection (no untrusted themes, plugins, or user scripts in the Discord page) lowers the chance of reaching the bridge but does not remove the underlying weakness, and blocking outbound access to unknown proxies at the network edge limits the interception impact only after the switches are written.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Legcord is an Electron-based desktop wrapper that loads Discord's web application in a renderer process and exposes a privileged preload/IPC bridge to that page. The vulnerable code path is the settings.setConfig handler reachable from the Discord renderer (see src/discord/ipc.ts around lines 296-299 and src/main.ts around lines 277-307 in the v1.3.0 tree), which fails to restrict which configuration keys a renderer-originated call may write. Under CWE-15 (External Control of System or Configuration Setting), untrusted input from the web content controls a security-relevant setting of the host application: an attacker who already has script execution in the Discord page can persist the additionalArguments key, which the main process later turns into Chromium command-line switches at the next launch. Writing --proxy-server redirects the client's network traffic to an attacker-selected proxy, and --ignore-certificate-errors suppresses Chromium's TLS certificate validation for that traffic, enabling interception and modification of the Discord session. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N) and the independent assessment (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) both reflect the same reality: no authentication is needed and no user interaction beyond using the client, but the attack cannot succeed on its own - AT:P/AC:H encode the hard dependency on a separate Discord-side cross-site scripting flaw to reach the bridge in the first place, and availability is unaffected (A:N) while confidentiality and integrity of the user's session are fully at risk.
Know when Legcord gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H because a separate Discord XSS must be chained first; PR:N/UI:N as the bridge needs no auth once reached; C:H/I:H for full traffic interception and tampering, A:N as availability is unaffected.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Legcord 1.1.0 through 1.3.0 contains a configuration injection vulnerability that allows script in the Discord page to write any config key via the window.legcord settings.setConfig bridge. Attackers exploiting a Discord XSS can set additionalArguments to persistently add --proxy-server and --ignore-certificate-errors switches, routing all client traffic through an interception proxy.
Executive ViewAI
Legcord, a third-party Electron desktop client for Discord that some employees use in place of the official app, exposes a settings bridge that can be abused to persistently force every bit of client traffic through an attacker-controlled proxy with TLS certificate validation switched off. Exploitation requires a separate, pre-existing flaw in the Discord web content the client renders, so it acts as an amplifier that converts a contained web-content weakness into full interception of chat, file transfers, and session credentials for the affected user. Leadership should care because successful abuse yields plaintext access to corporate communications and reusable authentication tokens, and no vendor patch is available today.
No vendor-released patch identified at time of analysis. Interim mitigations: uninstall or blocklist Legcord 1.1.0-1.3.0 and direct users to the official Discord client; enforce application allowlisting for messaging clients; monitor process command lines and configuration files for the --proxy-server and --ignore-certificate-errors switches; inspect for unexpected system or application proxy settings; rotate credentials and revoke active sessions for any user confirmed to have run a tampered client; and restrict egress to approved destinations to limit the usefulness of traffic redirection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-92158
GHSA-3q64-f25r-4v38
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB