llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getgrav/grav-plugin-guestbook

GHSA-JGPJ-GCHM-6J29

Guestbook AJAX rendering allows stored XSS in administrator sessions

Sin parche publicado
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición57 dDesde la divulgación, 23 sept 2026, 2:14 p. m.
Detección56 dDesde 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
23 sept 26
18 nov 26
20 nov 26
23 sept 26
8 oct 26
22 oct 26
6 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-JGPJ-GCHM-6J29 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

Guestbook stores fields submitted by visitors and later inserts those values into HTML strings in its AJAX pagination and Admin moderation views. The strings are appended to the DOM as HTML, so markup in a stored message is interpreted by the browser.

Affected versions

The public AJAX rendering path affects Guestbook versions through 0.5.1. The Admin moderation path, which raises the impact to administrator-session execution, affects 0.5.0 and 0.5.1.

Details

The documented Guestbook form saves visitor-controlled author and message values to `messages.yaml`. Pagination responses return the stored records as JSON. The public `Load more` handler and the Admin `Load all` handler concatenate record fields into HTML strings and pass them to jQuery DOM insertion methods. The initial server-rendered rows use Twig escaping, but that protection does not apply to the AJAX paths. The Admin view automatically requests and inserts all records when opened.

Impact

An unauthenticated visitor can store markup that executes when another visitor loads a later page of entries. On sites using moderation, the same stored value is automatically rendered in the authenticated Admin moderation page, crossing from anonymous input into an administrator's session.

Patches

Upgrade to Guestbook 0.5.2 when it is released. The fix inserts visitor fields as text, rather than parsed HTML, in both AJAX views.

Credits

Reported by @AlpetGexha.

Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-guestbook≤ 0.5.1
0.5.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetgrav/grav-plugin-guestbook
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/getgrav/grav/security/advisories/GHSA-jgpj-gchm-6j29

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