{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-12999","published":"2026-09-21T09:17:04.533000Z","last_modified":"2026-10-14T13:10:00.187000Z","status":"Deferred","cvss":{"version":"4.0","score":9.1,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"emo@eclipse.org","primary":false},"auth":false,"cwes":["CWE-345"],"cpes":[],"cpes_truncated":false,"vendors":["eclipse-foundation"],"products":["eclipse-foundation/eclipse-open-vsx"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0033,"percentile":0.18577,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2025-12999/","html_en":"/en/cve/CVE-2025-12999/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-12999","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-12999"},"untrusted":{"vendor_name":"Eclipse Foundation","product_name":"Eclipse Open VSX","desc_en":"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.                                                                                   \n\n                                                                                                                                                                                              \n\n\nThose 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.\n\n\n\nThe 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.                                                                                    \n\n\n\nExploitability 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.\n\n\n\nAn 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.\n\n\n\nWorkarounds (unpatched versions)\n\n  \n\n\n1. 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.\n\n\n\n2. Ensure the server is not reachable except through that proxy.\n\n\n\n3. Flush the caches afterwards; poisoned entries survive the configuration change.","affected":[{"untrusted_vendor":"Eclipse Foundation","untrusted_product":"Eclipse Open VSX","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"c70ecc45657ce1af40b857ecbc9a5492","generated":"2026-11-26T20:56:04.864162Z","es":{"untrusted_title":"Inyección de URL en caché de metadatos de Eclipse Open VSX","untrusted_summary":"Eclipse Open VSX construye URLs absolutas desde encabezados X-Forwarded-* sin validar si el proxy es confiable, permitiendo que un atacante remoto sin autenticación envíe encabezados falsificados para inyectar URLs maliciosas en el caché de metadatos de extensiones. Las URLs de descarga, firma y clave pública se derivan de la misma URL base, por lo que un atacante puede distribuir paquetes VSIX maliciosos a todos los clientes durante la vida útil de la entrada en caché (una hora por defecto)."},"en":{"untrusted_title":"URL Injection in Eclipse Open VSX Metadata Cache","untrusted_summary":"Eclipse Open VSX builds absolute URLs from X-Forwarded-* headers without validating trusted proxies, allowing an unauthenticated remote attacker to inject malicious URLs into the extension metadata cache by supplying crafted headers. Download, signature, and public key URLs derive from the same base URL, enabling attackers to distribute malicious VSIX packages to all clients for the cache lifetime (one hour by default)."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Configura el proxy inverso para establecer (no relayar) los encabezados X-Forwarded-Host, X-Forwarded-Proto y X-Forwarded-Prefix, asegúrate de que el servidor solo sea accesible a través del proxy y vacía los cachés des…","untrusted_action_en":"Configure the reverse proxy to set (not relay) X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Prefix headers, ensure the server is only reachable through the proxy, and flush caches after applying changes.","vendor_url":"https://github.com/eclipse-openvsx/openvsx/security/advisories/GHSA-f55q-5m46-rmxc"},"reviewed":false},"references":[{"url":"https://github.com/eclipse-openvsx/openvsx/pull/2196","tags":[]},{"url":"https://github.com/eclipse-openvsx/openvsx/security/advisories/GHSA-f55q-5m46-rmxc","tags":[]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/75","tags":[]}]}}