---
id: CVE-2026-105294
title: >-
  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
summary: >-
  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 addi…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-15
vendor: Legcord
product: Legcord
affected:
  - Legcord >= 1.1.0 <= 1.3.0
published: '2026-10-05'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T01:16:28.923'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105294'
references:
  - url: 'https://github.com/Legcord/Legcord'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Legcord/Legcord/blob/v1.3.0/src/discord/ipc.ts#L296-L299
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Legcord/Legcord/blob/v1.3.0/src/main.ts#L277-L307'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Legcord/Legcord/issues/1163'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/legcord-1.1.0-through-1.3.0-chromium-switch-injection-via-settings-setconfig
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-05T01:08:41.782Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
