CVE-2026-27578: n8n Vulnerable to Stored XSS via Various Nodes

n8n Updated 26 Feb 2026

Summary

25/02/2026
Yes i
High
5.4

CVE-2026-27578: n8n Vulnerable to Stored XSS via Various Nodes. Affects n8n across 3 version ranges.

< 1.123.22 >= 2.0.0, < 2.9.3 >= 2.10.0, < 2.10.1

Fixed in 1.123.22, 2.9.3 or 2.10.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

n8n is an open-source workflow automation tool that allows users to connect various applications and services to automate tasks. It features a visual interface for creating workflows, supports numerous integrations, and is designed for both technical and non-technical users. However, it has a vulnerability that allows authenticated users to inject malicious scripts into workflows, posing a significant security risk.

Vulnerability Detail

The vulnerability arises from the ability of authenticated users with permissions to create or modify workflows to inject arbitrary scripts into pages rendered by the n8n application. This can be done through various nodes, including the Form Trigger node, Chat Trigger node, Send & Wait node, Webhook Node, and Chat Node. The injected scripts execute in the browsers of users who visit the affected pages, leading to potential session hijacking and account takeover.

How To Fix

Latest published version: 2.44.6 as of 22 Oct 2026

npm install n8n@2.44.6

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.123.22 1.123.22
    npm install n8n@1.123.22
  • >= 2.0.0, < 2.9.3 2.9.3
    npm install n8n@2.9.3
  • >= 2.10.0, < 2.10.1 2.10.1
    npm install n8n@2.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, administrators can implement temporary mitigations such as limiting workflow creation and editing permissions to trusted users only. Additionally, the Webhook node can be disabled by adding 'n8n-nodes-base.webhook' to the NODES_EXCLUDE environment variable.

Conclusion

The n8n application has a critical vulnerability that allows for stored XSS attacks via various nodes. Users are strongly encouraged to upgrade to the latest patched versions to mitigate this risk. Temporary workarounds can be employed while planning for an upgrade.

See every vulnerability recorded for n8n →

Share this vulnerability

FAQ

The vulnerability allows authenticated users to inject malicious scripts into n8n workflows, which can then execute in the browsers of other users.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The consequences include session hijacking and account takeover, which can lead to unauthorized access to sensitive information and workflows.

If you cannot upgrade, limit workflow permissions to trusted users and consider disabling the Webhook node as temporary mitigations.

The CVSS score of this vulnerability is 5.4, indicating a moderate level of risk.

Related vulnerabilities

Recent vulnerabilities recorded for n8n.

How To Fix

Latest published version: 2.44.6 as of 22 Oct 2026

npm install n8n@2.44.6

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.123.22 1.123.22
    npm install n8n@1.123.22
  • >= 2.0.0, < 2.9.3 2.9.3
    npm install n8n@2.9.3
  • >= 2.10.0, < 2.10.1 2.10.1
    npm install n8n@2.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback