llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getkirby/cms

GHSA-G6Q3-MF7C-27JH

Cross-site scripting (XSS) via a race condition in chunked file uploads

Parche disponible
Descargar PNG JSON
CVSS 4.0
7.4
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión5.6.4
Exposición2 dDesde la divulgación, 18 nov 2026, 4:37 a. m.
Detección13 hDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
04:37 a. m.
05:31 p. m.
10:31 p. m.
04:37 a. m.
09:06 p. m.
01:34 p. m.
06:03 a. m.
10:31 p. m.
FechaFaseEventoDetalle
Divulgación Publicada GHSA-G6Q3-MF7C-27JH divulgada · CVSS 7.4 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Users who can upload files can store SVG files with JavaScript that Kirby's upload checks would otherwise reject.

You're affected if
  • Kirby 5.0.0–5.6.3
  • Users you do not fully trust can upload or replace files (e.g. `files.create` or `files.replace` permission)
  • A file blueprint accepts SVG files (the default) or XML/SVGZ files

This covers all file uploads in the Panel and REST API, and plugin code that accepts uploads via `Kirby\Api\Api::upload()`.

Potential damage
  • Can store SVG/XML files with JavaScript that the upload checks would otherwise reject
  • Can run that JavaScript in the browser of anyone who opens the file or views a page that embeds it inline
  • Can then act with that person's permissions, e.g. an admin's, while they are logged in to the Panel
  • Cannot gain higher permissions unless such a user opens the file or page
  • Cannot bypass file name or extension rules (no `.php` or `.html` files)
Patches
  • Fixed in Kirby 5.6.4 https://github.com/getkirby/kirby/releases/tag/5.6.4
  • Each chunked upload now keeps its own temporary file until it is stored.
  • Files uploaded before the update are not re-checked.
Workarounds
  • Only let fully trusted users upload or replace files.
  • Exclude SVG files in the `accept` option of all file blueprints, including `files/default`.
Credits

Thanks to @4n86rakam1 and @vinniboy021-blip for responsibly reporting the identified issue.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
getkirby/cms≥ 5.0.0 < 5.6.4
5.0.0
5.6.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetkirby/cms
Corregida 5.6.4 — —
Versiones corregidas5.6.4
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh

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