{"id":"CVE-2026-54302","published":"2026-06-23T15:46:21Z","modified":"2026-06-23T17:34:23Z","title":"n8n: Stored XSS in Chat Trigger Node","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00231,"percentile":0.14221,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-42h7-m79w-wvg5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":2.84},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.55",">= 2.0.0-rc.0, < 2.25.7",">= 2.26.0, < 2.26.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T17:34:18.687480Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.55",">=2.26.0, <2.26.2",">=2.0.0-rc.0, <2.25.7"],"patched":["1.123.55","2.26.2","2.25.7"],"from":["GHSA-42h7-m79w-wvg5"],"provenance":"source"}],"summary":{"text":"The Chat Trigger node in n8n, a workflow automation platform, fails to neutralise a malicious webhookId value, allowing stored cross-site scripting in the page the node generates. An attacker needs an authenticated account with workflow edit access to set the malicious webhookId, and the injected script runs in the n8n origin with the session privileges of any logged-in user who then visits the chat URL, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:17Z"},"euvd":{"id":"EUVD-2026-38477","exploited":false,"provenance":"source"}}