Description
Open VSX Registry does not sanitize SVG files uploaded as extension icons prior to storage, and serves them with Content-Type: image/svg+xml without security headers such as Content-Security-Policy or Content-Disposition: attachment. This allows an attacker to publish an extension with a malicious SVG icon and achieve stored cross-site scripting (XSS) when a user navigates directly to the icon URL.




On deployments using local storage, script execution occurs within the Open VSX application origin, enabling session hijacking, authentication token theft, and unauthorized extension publishing. On deployments backed by external storage (such as open-vsx.org with an S3-backed CDN), execution is confined to the storage origin, reducing impact but still permitting phishing attacks and credential harvesting through attacker-crafted pages.
Published: 2026-06-23
Score: 4.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Open VSX Registry does not sanitize SVG files uploaded as extension icons and serves them with a content type of image/svg+xml without security headers such as Content‑Security‑Policy or Content‑Disposition. This flaw enables an attacker to publish an extension with a malicious SVG icon that, when accessed, triggers stored cross‑site scripting. The resulting script execution can hijack user sessions, steal authentication tokens, and allow the attacker to publish extensions without authorization, depending on the deployment configuration.

Affected Systems

The vulnerability affects deployments of the Eclipse Foundation’s Eclipse Open VSX Registry, whether hosted locally or backed by external storage such as S3‑backed CDNs. Local deployments are vulnerable to full same‑origin code execution inside the Open VSX application, while external deployments limit execution to the storage origin but still permit phishing and credential harvesting through crafted pages. No specific product version information is provided.

Risk and Exploitability

The CVSS score of 4.1 places this issue in the moderate severity range, and the EPSS score is not available, indicating no publicly known exploitation trend. The vulnerability is not listed in the CISA KEV catalog. The primary attack vector is the upload of a malicious extension icon; the attacker must be able to submit an extension to the registry. On local installations the impact is higher because the injected script runs under the application origin, whereas on external storage deployments the impact is confined to the storage origin but still allows social engineering attacks.

Generated by OpenCVE AI on June 23, 2026 at 12:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Implement a Content‑Security‑Policy that disallows script execution of SVG resources served by the registry.
  • Add a Content‑Disposition header set to attachment or enforce a safe MIME type to prevent direct rendering of SVG icons.
  • Sanitize all SVG files before they are stored—remove script tags, event handlers, and other executable elements.

Generated by OpenCVE AI on June 23, 2026 at 12:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 23 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
Title Malicious SVG Icons Leading to Stored XSS in Eclipse Open VSX
Metrics ssvc

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


Tue, 23 Jun 2026 11:45:00 +0000

Type Values Removed Values Added
Description Open VSX Registry does not sanitize SVG files uploaded as extension icons prior to storage, and serves them with Content-Type: image/svg+xml without security headers such as Content-Security-Policy or Content-Disposition: attachment. This allows an attacker to publish an extension with a malicious SVG icon and achieve stored cross-site scripting (XSS) when a user navigates directly to the icon URL. On deployments using local storage, script execution occurs within the Open VSX application origin, enabling session hijacking, authentication token theft, and unauthorized extension publishing. On deployments backed by external storage (such as open-vsx.org with an S3-backed CDN), execution is confined to the storage origin, reducing impact but still permitting phishing attacks and credential harvesting through attacker-crafted pages.
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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-06-23T12:03:13.663Z

Reserved: 2026-03-27T12:31:27.749Z

Link: CVE-2026-4983

cve-icon Vulnrichment

Updated: 2026-06-23T12:03:09.532Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-23T12:30:02Z

Weaknesses
  • CWE-79

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