Cross-site scripting in n8n - CVE-2026-54302
Published: June 16, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary JavaScript in the victim's browser within the n8n origin.
The vulnerability exists due to cross-site scripting in the Chat Trigger generated page when handling a crafted webhookId value. A remote user can set a malicious webhookId and cause script execution in the victim's session context to execute arbitrary JavaScript in the victim's browser within the n8n origin.
User interaction is required when a logged-in user visits the chat URL.