Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege n8n account
-
DeliveryCreate or edit workflow with Form Node
-
ExploitInject XSS payload in HTML description field
-
InstallPublish form URL
-
C2Victim loads form
-
ExecuteMalicious script executes in victim browser
-
ImpactExfiltrate data or redirect to phishing site
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 editing permissions - anonymous or read-only access is insufficient. The Form Node feature must be in active use within the target n8n instance. A victim end user must load or interact with the published form URL for the XSS or redirect payload to trigger (UI:P). Exploitation is limited to the context of the form's rendered page and does not directly compromise the n8n backend or its credentials. Deployments where workflow creation is restricted to a small set of fully trusted administrators, or where the Form Node is not used, are not meaningfully exposed. |
| Impact | The CVSS 4.0 score of 5.1 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) accurately reflects the threat model: the impact is on subsequent-system users (form visitors), not the n8n instance itself, which is why VC/VI/VA are all N. The PR:L metric confirms exploitation requires a low-privileged authenticated account - specifically workflow creation permissions - not a guest or anonymous role. UI:P indicates passive user interaction is required (a victim must load the form). There is no KEV listing and no publicly available proof-of-concept, making opportunistic mass exploitation unlikely. Real-world risk is highest in multi-tenant or SaaS n8n deployments where untrusted users can be granted workflow creation rights, or in organizations where n8n forms are published to external audiences. In single-operator, fully trusted deployments the risk is negligible. EPSS data was not provided; absent KEV or POC, prioritization should be driven by deployment model rather than raw score. |
| Exploit ScenarioDerived | An attacker with a low-privileged n8n account (or one obtained through credential theft or insider access) creates or modifies a workflow containing a Form Node, embedding a JavaScript payload in the HTML description field. When an external end user accesses the published form URL, the unsanitized script executes in their browser, potentially stealing session cookies, credentials entered into the form, or silently redirecting the victim to a phishing page via the open redirect vector. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Stored cross-site scripting and open redirect vulnerabilities in n8n's Form Node allow authenticated users with workflow creation permissions to inject malicious scripts or phishing redirects that execute in the browsers of end users who interact with published forms. Affected across both the 1.x branch (before 1.123.24) and the 2.x branch (before 2.10.4 and 2.12.0). The attack surface is the Form Node's HTML description fields, which accept unsanitized markup, combined with an overly permissive iframe sandbox policy - creating a persistent attack vector embedded within legitimate workflows. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade n8n to version 1.123.24 or later on the 1.x branch, or to 2.10.4 / 2.12.0 or later on the 2.x branch, per the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-w673-8fjw-457c. If an immediate upgrade is not possible, restrict workflow creation permissions to fully trusted internal users only - removing this access from any semi-trusted or shared accounts eliminates the authenticated attack path. As a further compensating control, audit existing workflows for Form Nodes that contain raw HTML in description fields and sanitize or remove such content. Organizations exposing n8n Form URLs to external or anonymous end users should treat this as elevated priority until patched, as those users are the impacted downstream targets.
Affected VersionsENISA
Affected Packages
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 a self-hostable workflow automation platform (cpe:2.3:a:n8n:n8n) that allows users to build data pipelines and forms via a visual node-based editor. The Form Node renders HTML-capable description fields and embeds iframes to display forms to external end users. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), manifesting in two ways: first, user-supplied HTML in description fields is not sanitized before rendering in the form's output context; second, the iframe sandbox attribute is configured too permissively, failing to restrict script execution or navigation originating from form content. Because form output is served to arbitrary end users (not just n8n operators), a stored XSS payload placed in a workflow persists and fires against every user who loads the associated form URL.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
PR:L reflects required workflow-creation authentication; S:C and UI:R capture downstream form-visitor impact; no availability impact applies.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 1.123.24, 2.10.4, and 2.12.0 (across its 1.x and 2.x branches) contains cross-site scripting and open redirect vulnerabilities in the Form Node due to unsanitized HTML description fields and overly permissive iframe sandbox policies. Authenticated users with workflow creation permissions can inject malicious scripts or redirect parameters to perform stored XSS attacks or phishing redirects against end users.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-42887
GHSA-qmq2-xjjf-5ffp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB