CVE-2026-54302
published 2026-06-23CVE-2026-54302: 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…
PriorityP430medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
0.21%
11.2th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| n8n-io | n8n | < 1.123.55 | 1.123.55 |
| n8n-io | n8n | — | — |
| n8n-io | n8n | — | — |
| n8n | n8n | < 1.123.55 | 1.123.55 |
| n8n | n8n | >= 0 < 1.123.55 | 1.123.55 |
| n8n | n8n | >= 2.0.0 < 2.25.7 | 2.25.7 |
| n8n | n8n | >= 2.0.0-rc.0 < 2.25.7 | 2.25.7 |
| n8n | n8n | >= 2.26.0 < 2.26.2 | 2.26.2 |
| n8n | n8n | >= 2.26.0 < 2.26.2 | 2.26.2 |
CVSS provenance
nvdv3.15.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
nvdv4.07.0HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
n8n-io n8n up to 1.123.54/2.25.6/2.26.1 webhookId cross site scripting (GHSA-42h7-m79w-wvg5)
vuldb·2026-06-24·CVSS 7.0
CVE-2026-54302 [HIGH] n8n-io n8n up to 1.123.54/2.25.6/2.26.1 webhookId cross site scripting (GHSA-42h7-m79w-wvg5)
A vulnerability described as problematic has been identified in n8n-io n8n up to 1.123.54/2.25.6/2.26.1. This affects an unknown function of the component webhookId Handler. Executing a manipulation can lead to cross site scripting.
The identification of this vulnerability is CVE-2026-54302. The attack may be launched remotely. There is no exploit available.
Upgrading the affected component is recommended.
GHSA
n8n: Stored XSS in Chat Trigger Node
ghsa·2026-06-16
CVE-2026-54302 [HIGH] CWE-79 n8n: Stored XSS in Chat Trigger Node
n8n: Stored XSS in Chat Trigger Node
## Impact
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.
## Patches
The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.2. 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:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the Chat Trigger node by adding `@n8n/n8n-nodes-langchain.chatTrigger` to the `NODES
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-06-23
Published