XSS in N8n
CVE-2026-54301
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (15.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- N8n
- N8n-Io N8n — versions < 1.123.55, >= 2.0.0-rc.0, < 2.25.7, >= 2.26.0, < 2.26.2
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-v733-mwr6-fgcm (Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-54301?
- CVE-2026-54301 is a medium-severity vulnerability in N8n, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-06-23.
- How severe is CVE-2026-54301?
- Medium severity. CVSS v3 base score is 5.4 out of 10.