Skip to main content

CVE-2026-27578 — Vulnerability in n8n — CVE Details

HIGH

n8n Vulnerable to Stored XSS via Various Nodes

Published February 25, 2026Updated February 28, 2026Source: OSV

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.

Check my package-lock.json

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.webhook to the NODES_EXCLUDE environment 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
Update n8n to 2.9.3 or later
npm install n8n@2.9.3
npm
Update n8n to 1.123.22 or later
npm install n8n@1.123.22
npm
Update n8n to 2.10.1 or later
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).

PackageFixed In
n8n npm · Affected: All versions2.9.3
n8n npm · Affected: All versions1.123.22
n8n npm · Affected: All versions2.10.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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

CVSS Score
5.4

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.39%
EPSS percentile: 24.5

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

GHSA-2p9h-rqjw-gm92

Related CVEs

  • CVE-2026-33660
    CRITICAL

    n8n has Multiple Remote Code Execution Vulnerabilities in Merge Node AlaSQL SQL Mode

  • CVE-2025-61914
    HIGH

    n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox

  • CVE-2026-65592
    HIGH

    n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`

  • CVE-2026-65593
    MEDIUM

    n8n: Authenticated SSRF via Dynamic Node Parameters Endpoints Allows Internal Network Access

  • CVE-2026-59257
    MEDIUM

    n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation

  • CVE-2026-72769
    MEDIUM

    n8n: Prototype Pollution via VM Expression Engine Sandbox Escape Leads to Denial of Service

  • CVE-2026-86074
    MEDIUM

    n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content

  • CVE-2026-65594
    MEDIUM

    n8n: Member-Level Users Can Execute Other Users' MCP Server Trigger Workflows via Missing OAuth Authorization Check

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json