Skip to main content

n8n EUVDEUVD-2026-38754

| CVE-2026-56358 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 VulnCheck
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to n8n with low-privilege account
  2. Delivery
    Create or modify workflow with Form Trigger node
  3. Exploit
    Craft CSS payload bypassing sanitization
  4. Install
    Publish form to external URL
  5. C2
    Victim passively loads published form
  6. Execute
    Injected script executes in victim's browser
  7. Impact
    Hijack form submission or serve phishing content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated n8n account with workflow creation or modification permissions (PR:L per CVSS 4.0 vector) - administrative privileges are not required, making any low-privilege internal user a potential threat actor. The Form Trigger node must be enabled (not excluded via NODES_EXCLUDE) and a form must be published and reachable by external or internal victims. Payload execution is triggered by passive user interaction from form visitors loading the published form URL (UI:P). The vendor-confirmed Content Security Policy prevents n8n session cookie theft, limiting confidentiality impact to data visible on or submitted through the form. The attack does NOT require a specific platform, OS, or non-default configuration beyond n8n running with its default Form Trigger node enabled and the attacker holding workflow creation rights.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P - score 5.1) accurately reflects the threat model: network-reachable with low complexity, but gated behind low-privilege authentication and requiring passive user interaction from form visitors. The subsequent-system impact metrics (SC:L/SI:L) confirm that the primary harm lands on form visitors rather than the n8n instance itself, consistent with the CSP partially containing the blast radius. No CISA KEV listing and no public POC are present in the input data, indicating no confirmed widespread exploitation at time of analysis. However, the stored nature of the payload materially elevates real-world risk beyond a typical reflected XSS: a single workflow modification can persistently compromise an unlimited number of visitors with zero additional attacker effort. The low exploitation bar - any authenticated user with workflow creation rights, not just admins - further broadens the internal threat surface in multi-tenant or SaaS-hosted n8n deployments. EPSS data was not provided; risk should be treated as moderate absent further telemetry.

Exploit ScenarioDerived

An authenticated n8n user with workflow creation permissions opens or modifies a workflow containing a Form Trigger node and injects a JavaScript payload crafted to evade the flawed CSS sanitization routine. Once the workflow is published, every subsequent visitor who loads the form URL unknowingly executes the injected script in their browser, which silently redirects form submissions to an attacker-controlled endpoint or renders convincing phishing content - all while the victim interacts with what appears to be a legitimate n8n-hosted form. No POC has been publicly identified at time of analysis, but the technique requires only standard web application knowledge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Stored XSS in n8n's Form Trigger node allows any authenticated low-privilege user with workflow creation rights to inject persistent malicious scripts that execute for every visitor of a published form. Affects n8n 1.x before 1.123.25 and 2.x from 2.0.0-rc.0 before 2.11.2. No public exploit or active exploitation identified at time of analysis; the CVSS 4.0 score of 5.1 reflects partial CSP mitigation blocking session cookie theft while still permitting form hijacking and phishing against unlimited downstream victims.

RemediationAI

Vendor-released patches are available: upgrade n8n to version 2.11.2 or 2.12.0 (for 2.x deployments) or to 1.123.25 (for 1.x deployments), as confirmed by GHSA-q4fm-pjq6-m63g at https://github.com/n8n-io/n8n/security/advisories/GHSA-q4fm-pjq6-m63g. If immediate upgrade is not feasible, two vendor-documented temporary mitigations exist: first, restrict workflow creation and editing permissions to fully trusted users only, which reduces the attack surface to a smaller principal set but may disrupt operational workflows for broader teams; second, disable the Form Trigger node entirely by adding the string 'n8n-nodes-base.formTrigger' to the NODES_EXCLUDE environment variable, which eliminates the vulnerable attack surface entirely but renders all Form Trigger-based workflows non-operational until the patch is applied. The vendor explicitly notes these workarounds do not fully remediate the risk and should be treated as short-term measures only.

Affected VersionsENISA

n8n 0 <1.123.25
n8n 0 <2.11.2
n8n 2.0.0-rc.0 <2.11.2

Affected Packages

npm n8n fix: 1.123.25, 2.11.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is an open-source workflow automation platform distributed as the npm package 'n8n' (CPE: cpe:2.3:a:n8n:n8n). Its Form Trigger node allows users to publish externally accessible HTML forms that collect visitor-submitted data. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation) specifically in the CSS sanitization logic applied to Form Trigger node inputs - the sanitizer fails to block injected JavaScript within CSS constructs, permitting stored payloads to persist in the published form's DOM. Unlike reflected XSS, the stored nature means a single injection event affects all subsequent form visitors without further attacker interaction. The vendor's existing Content Security Policy provides partial mitigation by preventing direct n8n session cookie exfiltration, but does not block script execution or manipulation of form submission targets.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Low-privilege authenticated attacker stores payload affecting all form visitors (scope change); CSP limits confidentiality to non-cookie form data; no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 13:01 EUVD

DescriptionCVE.org

n8n before 1.123.25 (1.x) and before 2.11.2 (2.x), with the fix also included in 2.12.0, contains a stored cross-site scripting vulnerability in the Form Trigger node's CSS sanitization that allows authenticated users to inject malicious scripts. Attackers with workflow creation permissions can inject XSS payloads that execute persistently for all form visitors, enabling form hijacking and phishing attacks.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular open-source workflow automation tool, not universally deployed
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy