CVE-2026-4983

Malicious SVG Icons Leading to Stored XSS in Eclipse Open VSX

Published Jun 23, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse open Vsx
Vendors & Products Eclipse
Eclipse open Vsx
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'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Jun 23, 2026, 12:03 PM
Reserved
Mar 27, 2026, 12:31 PM
Status
Analyzed
Published
Jun 23, 2026, 12:16 PM
Modified
Oct 25, 2026, 11:10 PM