llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · n8n

GHSA-X5CW-HM7V-Q7MJ

n8n Chat Trigger Stored XSS via customCss Parameter on Hosted-Chat Page

Parche disponible
Descargar PNG JSON
CVSS 4.0
7.0
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche el mismo día de la divulgación
Exposición50 dDesde la divulgación, 30 sept 2026, 3:35 a. m.
Detección50 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.42.1
Monitoreo
Detectada +1
30 sept 26
6 oct 26
19 nov 26
30 sept 26
13 oct 26
25 oct 26
7 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-X5CW-HM7V-Q7MJ divulgada · CVSS 7 (GitHub)
Remediación Parche 2.42.1 n8n · 0 d desde divulgación
Divulgación Modificada Última actualización del registro
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 Chat Trigger lets a workflow author supply custom CSS for the hosted chat page. The value was insufficiently sanitised and interpolated into the page as markup. Where the chat is published without n8n user authentication, the page is served on the instance's own origin, so the author's content executes there for any visitor. A visitor already signed in to the instance has their session acted upon. Chats published with n8n user authentication are not affected.

Patches

The issue has been fixed in n8n versions 1.123.83, 2.42.1 and 2.41.4. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Audit active Chat Trigger workflows and review the `customCss` parameter for unexpected values.
- Enable authentication on Chat Trigger nodes to prevent anonymous visitors from reaching the hosted-chat page.
- Deactivate Chat Trigger workflows that are not currently required until the instance is patched.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

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:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:L
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 Última
n8n< 1.123.83
n8n< 2.41.4
n8n< 2.42.1
1.123.83
2.41.4
2.42.1
2.47.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmn8n
Corregida 2.42.1 0 d 2.47.7 no afectada
Versiones corregidas1.123.832.41.42.42.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/n8n-io/n8n/security/advisories/GHSA-x5cw-hm7v-q7mj

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