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 in the open‑vsx.org origin context, enabling the exfiltration of the user’s session token, the generation of permanent Personal Access Tokens, and the publication of 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. Based on the description, it is inferred that an attacker could exploit the flaw with minimal effort, because a path to success involves creating a publisher account, uploading a malicious VSIX, and no special network privileges are required, making the exploit 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.
OpenCVE Enrichment