CVE-2025-12999
Last modified
CVE-2025-12999 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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). EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | Eclipse Open VSX | >= 0.6.0, <= 1.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-12999?
How severe is CVE-2025-12999?
How do I fix CVE-2025-12999?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12993Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-12994Medtronic CareLink Network allows an unauthenticated remote …5.3
- CVE-2025-12995Medtronic CareLink Network allows an unauthenticated remote …9.8
- CVE-2025-12996Medtronic CareLink Network allows a local attacker with acce…4.1
- CVE-2025-12997Insecure Direct Object Reference vulnerability in Medtronic …3.1
- CVE-2025-12998Improper Authentication vulnerability in TYPO3 Extension "Mo…8.2
- CVE-2025-1300CodeChecker is an analyzer tooling, defect database and view…6.1
- CVE-2025-13000The db-access WordPress plugin through 0.8.7 does not have a…7.7
- CVE-2025-13001The donation WordPress plugin through 1.0 does not sanitize …4.1
- CVE-2025-13002Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2025-13003Authorization Bypass Through User-Controlled Key vulnerabili…7.6
- CVE-2025-13004Authorization Bypass Through User-Controlled Key vulnerabili…6.3
Are you affected by CVE-2025-12999?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
