llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · apostrophe

GHSA-XHX7-W88J-2J88

Notification length check parses message as HTML in the admin UI

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición8 dDesde la divulgación, 11 nov 2026, 3:28 p. m.
Detección6 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 4.34.1
Monitoreo
Detectada +1
11 nov 26
18 nov 26
20 nov 26
11 nov 26
14 nov 26
16 nov 26
18 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-XHX7-W88J-2J88 divulgada
Divulgación Modificada Última actualización del registro
Remediación Parche 4.34.1 apostrophe · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

The admin UI notification component (`AposNotification.vue`) displays notification messages as escaped text. However, to decide whether to apply the "long notification" style, it assigned the localized message to the `innerHTML` of a detached `div` and measured its `textContent`. An element created with `document.createElement` belongs to the live document, so event-handler payloads such as `<img src=x onerror=...>` execute even though the element is never attached or displayed.

This check is a leftover from before May 2021, when notifications were rendered with `v-html`. Rendering switched to escaped text, but the measurement did not.

Markup can reach this code through:

  • the notification REST API (`POST /api/v1/@apostrophecms/notification`), which only creates notifications for the logged-in user and is protected by CSRF checks, so this route amounts to self-XSS;
  • server-side notifications whose interpolated values contain user-controlled text, since i18next interpolation is configured with `escapeValue: false`. We found no notification in core or Pro modules that interpolates attacker-controlled text into a notification shown to another user, but third-party project code could.

No known practical exploit; found by the maintainers during review of a customer penetration test.

Patches

The length check now measures the message string directly. Notification messages are never parsed as HTML.

Workarounds

None needed for core; avoid interpolating untrusted text into server-side notifications until upgraded.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida Última
apostrophe< 4.34.1
4.34.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmapostrophe
Corregida 4.34.1 0 d 4.34.1 no afectada
Versiones corregidas4.34.1
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/apostrophecms/apostrophe/security/advisories/GHSA-xhx7-w88j-2j88

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