Skip to content
OpenAdvisories
High · 7.0 CVE-2026-54302 EUVD-2026-38477GHSA-42h7-m79w-wvg5

n8n: Stored XSS in Chat Trigger Node

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
n8n-io n8n < 1.123.55, >= 2.0.0-rc.0, < 2.25.7, >= 2.26.0, < 2.26.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n < 1.123.55 1.123.55 GHSA-42h7-m79w-wvg5
npm n8n >= 2.26.0, < 2.26.2 2.26.2 GHSA-42h7-m79w-wvg5
npm n8n >= 2.0.0-rc.0, < 2.25.7 2.25.7 GHSA-42h7-m79w-wvg5

Advisories 2

References