CVE-2026-54302

Severity CVSS v4.0:
HIGH
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
23/06/2026
Last modified:
26/06/2026

Description

n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, an authenticated user with workflow edit access could inject arbitrary JavaScript into the Chat Trigger's generated page by setting a malicious webhookId. When a logged-in user visited the chat URL, the injected code executed in the n8n origin with that user's session privileges. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* 1.123.55 (excluding)
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* 2.0.0 (including) 2.25.7 (excluding)
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* 2.26.0 (including) 2.26.2 (excluding)