CVE-2026-27578 — Vulnerability in n8n — CVE Details
n8n Vulnerable to Stored XSS via Various Nodes
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.39%). Schedule for your next planned update.
Does your project use an affected n8n version?
Paste your package-lock.json to check it for CVE-2026-27578 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
An authenticated user with permission to create or modify workflows could inject arbitrary scripts into pages rendered by the n8n application using different techniques on various nodes (Form Trigger node, Chat Trigger node, Send & Wait node, Webhook Node, and Chat Node). Scripts injected by a malicious workflow execute in the browser of any user who visits the affected page, enabling session hijacking and account takeover.
Patches
The issues have been fixed in n8n versions 2.10.1, 2.9.3, and 1.123.22. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the Webhook node by adding
n8n-nodes-base.webhookto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Credit
Reporters:
- @ori-ron
- @Aikido-Security
- @nil340
- Pawel Bednarz from the NATO Cyber Security Centre (NCSC)
Advisory Timeline
- First published February 25, 2026 (274 days ago).
- Last revised February 28, 2026 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@2.9.3
npm install n8n@1.123.22
npm install n8n@2.10.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
- CWE-80
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-2p9h-rqjw-gm92WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27578ADVISORY
- https://github.com/n8n-io/n8n/commit/062644ef786b6af480afe4a0f12bc6d70040534aWEB
- https://github.com/n8n-io/n8n/commit/1479aab2d32fe0ee087f82b9038b1035c98be2f6WEB
- https://github.com/n8n-io/n8n/commit/9e5212ecbc5d2d4e6f340b636a5e84be6369882eWEB
- https://github.com/n8n-io/n8nPACKAGE
Frequently Asked Questions
- What is CVE-2026-27578?
- n8n Vulnerable to Stored XSS via Various Nodes. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 5.4/10).
- How do I check if my project is affected by CVE-2026-27578?
- CVE-2026-27578 affects n8n. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27578 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 24.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-33660CRITICAL
n8n has Multiple Remote Code Execution Vulnerabilities in Merge Node AlaSQL SQL Mode
- CVE-2025-61914HIGH
n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox
- CVE-2026-65592HIGH
n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`
- CVE-2026-65593MEDIUM
n8n: Authenticated SSRF via Dynamic Node Parameters Endpoints Allows Internal Network Access
- CVE-2026-59257MEDIUM
n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
- CVE-2026-72769MEDIUM
n8n: Prototype Pollution via VM Expression Engine Sandbox Escape Leads to Denial of Service
- CVE-2026-86074MEDIUM
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
- CVE-2026-65594MEDIUM
n8n: Member-Level Users Can Execute Other Users' MCP Server Trigger Workflows via Missing OAuth Authorization Check