GHSA-WMX5-P58J-3PPP
Stored XSS in Event Log Exception Beautifier
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WMX5-P58J-3PPP divulgada · CVSS 3.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A stored cross-site scripting (XSS) vulnerability was identified in the backend Event Log preview's client-side exception beautifier. The beautifier walks the (already HTML-escaped) exception message looking for `{exception-beautifier-...}` brace tokens and reconstructs real HTML elements from them. Because `e()` escapes `<`, `>`, `&`, `"`, and `'` but not `{`, `}`, `#`, or space, brace tokens in a logged message could specify an arbitrary tag name and attribute span, which the beautifier would render as a real DOM element (for example `<img onerror=...>`) when an administrator opened the log preview.
### Impact
- Stored XSS executing in the backend origin of any administrator who opens the affected Event Log entry
- Persistent: the payload re-fires each time the log entry is previewed until the row is deleted
### Patches
The vulnerability has been patched in v3.7.18 and v4.2.23. The Event Log beautifier now restricts the HTML tag it can emit from a brace token to `div` or `span` (the only tags the legitimate formatter ever produces), and no longer copies the token's attribute span into the rendered element. The beautifier cannot construct an HTML element capable of script execution regardless of what reaches the log.
### Workarounds
If upgrading immediately is not possible:
- Restrict Event Log viewing permissions (`utilities.logs`) to fully trusted administrators only
- Disable event logging by setting `LogSetting::log_events` to false in backend settings (will lose general event logging)
### References
- Reported by riodrwn
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistoctober/system |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/octobercms/october/security/advisories/GHSA-wmx5-p58j-3pppLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
