CVE-2025-12999 Details
Description
UrlUtil.getBaseUrl builds the absolute URLs in a response — download links, icons, asset and API URLs — from the X-Forwarded-Host, X-Forwarded-Proto and X-Forwarded-Prefix request headers, with no check on whether the sender was a trusted proxy, falling back to the client-supplied Host header. Those responses are cached under keys that do not include the host (extension.json since 0.6.0, namespace.details.json since 0.9.0, sitemap since 0.14.5, latest.extension.version.vscode since 0.34.2). A single request carrying a forged header therefore places attacker-chosen URLs into an entry served to every other client for the lifetime of that entry — one hour by default, and cluster-wide where ovsx.redis.enabled is set. The VSIX download URL, its signature URL and the public key URL are all derived from the same base URL, so extension signing does not limit the impact: an attacker who poisons an entry supplies the package, the signature over it, and the key used to verify it. Exploitability depends on deployment topology. A server reachable directly by clients, or fronted by a proxy that relays the client's X-Forwarded-Host rather than overwriting it, is exploitable by an unauthenticated remote attacker. A proxy that overwrites the header is not. An unauthenticated attacker can poison Open VSX's per-extension metadata cache with attacker-controlled download, signature, and public-key URLs by supplying a crafted X-Forwarded-Host header, causing downstream VS Code-compatible editors to fetch and install a malicious VSIX. Workarounds (unpatched versions) 1. Configure the reverse proxy to set rather than relay X-Forwarded-Host, X-Forwarded-Proto and X-Forwarded-Prefix — note that nginx's $host is the client's Host header and is not a safe value. 2. Ensure the server is not reachable except through that proxy. 3. Flush the caches afterwards; poisoned entries survive the configuration change.
A vulnerability exists in the Eclipse Open VSX registry server in versions 0.6.0 and later, including the Open VSX Server package on Docker. The issue arises because the server's URL utility constructs absolute URLs for various assets based on the X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Prefix headers, without verifying if the source was a trusted proxy. This flaw allows an unauthenticated remote attacker to inject malicious URLs into the server's metadata cache, which are then served to other clients via a poisoned update endpoint. The impact is heightened by the fact that the same base URL is used for downloading and verifying extension packages, signatures, and public keys, enabling the installation of malicious code with full privileges in the victim's editor.
Users can update to Open VSX version 1.2.0, where this vulnerability has been patched. For those using the Open VSX Server package on Docker, version 1.2.0 is also available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 21, 2026CISA-ADP
Assessed Sep 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/eclipse-openvsx/openvsx/security/advisories/GHSA-f55q-5m46-rmxc | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/eclipse-openvsx/openvsx/pull/2196 | [email protected] | Source CodeVendor |
| https://github.com/eclipse-openvsx/openvsx/security/advisories/GHSA-f55q-5m46-rmxc | [email protected] | AdvisoryExploitRemedyVendor |
| https://gitlab.eclipse.org/security/cve-assignment/-/work_items/75 | [email protected] | Issue TrackingPermission RequiredVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Eclipse Open VSX | >= 0.6.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Sep 22, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | New CVE Received | [email protected] |
Volerion