llamaCVEVulnerability Intelligence
/
gogs

CVE-2026-52807

Gogs: DOM-based XSS via Milestone Name on New Issue Page

Sin parche publicadocross-site scripting (XSS)
Descargar PNG JSON
CVSS 4.0
4.8
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición150 dDesde la divulgación, 24 jun 2026, 3:25 p. m.
Detección145 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Que no se te pase entre tantos tickets.Anótala en tu libreta de pendientes serios.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
24 jun 26
25 jun 26
17 nov 26
22 nov 26
24 jun 26
1 ago 26
8 sept 26
15 oct 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-52807 divulgada · CVSS 4.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are rendered with Go's default auto-escaping ({{.Name}}), which converts < to &lt; etc. This prevents direct HTML injection. However, when the browser renders the DOM, the text content of the element contains the decoded original payload. Semantic UI 2.4.2's dropdown component has preserveHTML: true as the default setting. When a user selects a dropdown item, the internal set.text() method calls jQuery's .html() with the item's text content. This re-parses the decoded text as HTML, creating the injected element and triggering the JavaScript event handler. An attacker can store an HTML/JavaScript payload in a milestone name, and when any user opens the New Issue page and interacts with the milestone dropdown, the payload executes in their browser via Semantic UI's preserveHTML behavior. This vulnerability is fixed in 0.14.3.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:A
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:L
AltoBajoNinguno
Integridad (posterior)SI:L
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.5/ 10Alto
Vector 5.5 (moderada) · +2.0 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
gogs.io/gogstodas
gogs · gogs.io/gogs< 0.14.3
v0.13.3
0.14.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogogs.io/gogs
Sin parche — — v0.13.3 afectada
Versiones corregidas0.14.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/gogs/gogs/security/advisories/GHSA-vcm5-gvmp-78mp
Otrahttps://github.com/gogs/gogs/pull/8325
Otrahttps://github.com/gogs/gogs/commit/573eacdc658641487f8ad883da96b29ec8e2852d
Otrahttps://github.com/gogs/gogs/releases/tag/v0.14.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.