GHSA-2F75-93C9-XF32
Stored rich-text images make viewers' clients probe loopback and LAN addresses
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-2F75-93C9-XF32 divulgada · CVSS 4.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A user with write access to a task, comment or project description (or who imports Markdown) can store an `<img>` whose `src` points at a loopback or LAN address, e.g. `http://127.0.0.1:<port>/...`. Every viewer's client then issues a blind GET to that address from the viewer's own machine and network.
Details
- In the TipTap image extension, attachment URLs are rewritten, but any other `src` is rendered unchanged (`frontend/src/components/input/editor/editorExtensions.ts:211`).
- `ProjectInfo.vue` sanitizes the project description with DOMPurify (`frontend/src/views/project/ProjectInfo.vue:63`), whose defaults keep remote `img` elements.
- Vikunja Desktop serves the app from an http loopback origin (`desktop/main.js:246,352`) with CSP `img-src * data: blob:` (`desktop/csp.js:10`), so loopback and LAN image loads are allowed and not mixed-content blocked.
- The web build sends no CSP at all.
Confirmed in a browser: the viewer's client fetched the planted loopback URL.
Impact
Cross-user, victim-side request forgery: the attacker gets GET requests sent to services on the viewer's loopback interface or LAN (routers, local admin panels, dev servers) whenever the content is viewed. The requests are blind (no response is readable) and carry no Vikunja credentials, but a state-changing GET endpoint on a local service can be triggered. It also leaks when each viewer opens the content. Desktop is the clearest case (http loopback origin, permissive `img-src`).
Fix
Block or proxy all non-attachment images on both render paths (editor and `ProjectInfo.vue`), or tighten the desktop `img-src`. Filtering private hosts client-side is bypassable because the browser cannot resolve DNS before the request. Blocking breaks legitimate external images, so a proxy or an explicit opt-in is the friendlier option.
_Found via internal security review (03 #4, deep #28)._
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gocode.vikunja.io/api |
Sin parche | — | — | v0.24.6 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-vikunja/vikunja/security/advisories/GHSA-2f75-93c9-xf32Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
