Skip to content

CVE-2026-54301 n8n: Same-Origin XSS in Respond to Webhook Node

HighCVSS 7.0 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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 configure a Respond to Webhook node to serve binary content with an attacker-controlled Content-Type. The binary response path bypassed the central Content-Security-Policy sandbox header, allowing a public webhook to execute JavaScript in the n8n origin when visited by an authenticated user, with access to that user's session. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.55; >= 2.0.0, < 2.25.7; >= 2.26.0, < 2.26.2 1.123.55, 2.25.7, 2.26.2 Fixed
npm n8n(npm) < 1.123.55; >= 2.0.0-rc.0, < 2.25.7; >= 2.26.0, < 2.26.2 1.123.55, 2.25.7, 2.26.2 Fixed
n8n-io n8n = < 1.123.55; = >= 2.0.0-rc.0, < 2.25.7; = >= 2.26.0, < 2.26.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
n8n-io n8n = < 1.123.55 No fix listed
n8n-io n8n = >= 2.0.0-rc.0, < 2.25.7 No fix listed
n8n-io n8n = >= 2.26.0, < 2.26.2 No fix listed
npm n8n(npm) < 1.123.55 1.123.55
npm n8n(npm) >= 2.26.0, < 2.26.2 2.26.2
npm n8n(npm) >= 2.0.0-rc.0, < 2.25.7 2.25.7
n8n < 1.123.55 1.123.55
n8n >= 2.0.0, < 2.25.7 2.25.7
n8n >= 2.26.0, < 2.26.2 2.26.2

References