Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

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

High 7.0

In plain English

A high-severity cross-site scripting in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.0High
Exploit odds (30 days)0.2%top 85.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n1.123.55GHSA-v733-mwr6-fgcm
npmn8n2.26.2GHSA-v733-mwr6-fgcm
npmn8n2.25.7GHSA-v733-mwr6-fgcm

Affected products (as reported)

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

Weakness: CWE-79 · 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

References