Description
In Open VSX Registry before 1.0.2, the /vscode/unpkg/ endpoint serves user-supplied HTML files with Content-Type: text/html and without a Content-Security-Policy or Content-Disposition: attachment response header. An unauthenticated attacker can register a publisher account, upload a VSIX containing a crafted HTML payload, and induce an authenticated user to visit the resulting URL. The browser renders the file inline in the open-vsx.org origin context, enabling session token exfiltration, persistent Personal Access Token (PAT) generation, and unauthorized publication of malicious extension versions. Because Open VSX extensions are distributed to VS Code, VSCodium, Cursor, Windsurf, and compatible editors, a compromised extension update constitutes a supply chain attack against all downstream users.
Published: 2026-07-01
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Eclipse Open VSX Registry served user-supplied HTML files from the "/vscode/unpkg/" endpoint without a Content‑Security‑Policy or a proper Content‑Disposition header. This flaw is a CWE-79 cross‑site scripting vulnerability. An unauthenticated attacker can register a publisher account, upload a VSIX containing a malicious HTML payload, and force an authenticated user to visit the resulting URL. The browser then renders the file inline within the open‑vsx.org origin context, allowing the attacker to exfiltrate the user’s session token, generate permanent Personal Access Tokens, and publish malicious extension versions. This cross‑site scripting flaw therefore enables a supply‑chain attack that can spread malware to all editors that consume Open VSX extensions.

Affected Systems

The vulnerable product is Eclipse Foundation’s Eclipse Open VSX Registry, affecting all releases before version 1.0.2. Any downstream editor that installs extensions from Open VSX – such as VS Code, VSCodium, Cursor, Windsurf, and other compatible editors – is impacted when they receive an update that contains a malicious extension uploaded via this route.

Risk and Exploitability

The CVSS score of 4.1 indicates a low severity level. The EPSS score is below 1 %, reflecting a very low probability of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Nevertheless, the flaw can be exploited with minimal effort: an attacker needs to create a publisher account, upload a malicious VSIX, and wait for an authenticated user to load the extension. No special network privileges are required, so the exploit is straightforward in environments where users routinely install or update extensions from Open VSX. The likely attack vector is a supply‑chain attack that involves an authenticated user visiting a maliciously crafted URL.

Generated by OpenCVE AI on July 21, 2026 at 14:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Open VSX Registry to version 1.0.2 or newer, which adds a Content‑Security‑Policy header and enforces proper Content‑Disposition handling for the "/vscode/unpkg/" endpoint.
  • Update all downstream editors (VS Code, VSCodium, Cursor, Windsurf, etc.) to the latest releases that validate extensions and reject unsafe HTML content.
  • Enforce strict HTML sanitization, output encoding, and a robust Content‑Security‑ to prevent cross‑site scripting, ensuring only trusted, non‑HTML assets are servedpkg/\" endpoint.

Generated by OpenCVE AI on July 21, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Title openvsx: Open VSX Registry: Supply chain attack via cross-site scripting
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 02 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting via Unauthenticated Extension Upload in Eclipse Open VSX

Thu, 02 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting via Unauthenticated Extension Upload in Eclipse Open VSX

Wed, 01 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse open Vsx
Vendors & Products Eclipse
Eclipse open Vsx

Wed, 01 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Title Open VSX Registry Serves Unsecured HTML Payloads Leading to Session Token Theft

Wed, 01 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
Title Open VSX Registry Serves Unsecured HTML Payloads Leading to Session Token Theft

Wed, 01 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
Description In Open VSX Registry before 1.0.2, the /vscode/unpkg/ endpoint serves user-supplied HTML files with Content-Type: text/html and without a Content-Security-Policy or Content-Disposition: attachment response header. An unauthenticated attacker can register a publisher account, upload a VSIX containing a crafted HTML payload, and induce an authenticated user to visit the resulting URL. The browser renders the file inline in the open-vsx.org origin context, enabling session token exfiltration, persistent Personal Access Token (PAT) generation, and unauthorized publication of malicious extension versions. Because Open VSX extensions are distributed to VS Code, VSCodium, Cursor, Windsurf, and compatible editors, a compromised extension update constitutes a supply chain attack against all downstream users.
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N'}


Subscriptions

Eclipse Open Vsx
cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-07-01T12:19:20.920Z

Reserved: 2026-06-25T09:14:56.817Z

Link: CVE-2026-13323

cve-icon Vulnrichment

Updated: 2026-07-01T12:12:58.749Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-01T11:28:20Z

Links: CVE-2026-13323 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T15:00:09Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')