CVE-2026-113429
Gitea stored XSS in legacy Actions artifact downloads
Attackers who can run CI jobs can run scripts in victims' browsers and take over accounts, including admin accounts.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Fuente: CISA-ADP
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-113429 divulgada · CVSS 5.4 (CISA-ADP) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Gitea, the self-hosted Git service, is affected through its Actions artifact download feature. An attacker who can run a CI job could upload a file that executes malicious scripts in a victim's browser when they open the download link, which could let the attacker take over the victim's account, including an administrator's and therefore the whole Gitea instance.
Affects Gitea 28.2.0 and earlier through legacy Actions artifact Content-Encoding handling. Fixed in 28.3.0.
Descripción original del registro (Gitea)
Legacy (v1 to v3) Actions artifact uploads stored the request's `Content-Encoding` header unchecked in the column that is served as the artifact's `Content-Type` on download, and a value starting with `video/` or `audio/` also removed the sandboxing Content-Security-Policy. A user who can run an Actions job could upload an artifact that a browser renders as HTML on the Gitea origin when the direct artifact download URL is opened, and the URL is reachable anonymously on public repositories. A victim who opens the link runs the attacker's script with their own session, which for an administrator means control of the instance. Legacy uploads now store only the `gzip` marker, and the special serve headers are chosen only for valid media types.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogitea.dev |
Sin parche | — | — | v1.27.3 afectada |
28.3.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488https://blog.gitea.com/release-of-28.3.0/https://github.com/go-gitea/gitea/pull/39855https://github.com/go-gitea/gitea/pull/39996https://github.com/go-gitea/gitea/releases/tag/v28.3.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
