Skip to main content

n8n CVE-2026-77072

| EUVDEUVD-2026-63261 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-20 VulnCheck GHSA-47gc-w5fv-qr5m
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate as low-privileged n8n member
  2. Delivery
    Create or modify Form node workflow
  3. Exploit
    Set respondWith to 'redirect' via dynamic expression
  4. Install
    Populate responseText with malicious script
  5. C2
    Distribute public form URL to targets
  6. Execute
    Victim submits form, triggering CSP-bypass rendering
  7. Impact
    Exfiltrate session token or perform same-origin actions

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 the attacker to hold a low-privileged authenticated account on the target n8n instance with permission to create or edit workflows. The Form node's respondWith field must be set to 'redirect' via a dynamic expression - this specific configuration is what disables the CSP sandbox while still allowing responseText HTML rendering, which is the precise bypass mechanism. A victim must actively submit the public form (user interaction required, per UI:A in the CVSS vector). Exploitation is bounded by: (1) attacker must have workflow-author access - instances where only administrators can create workflows are not exploitable by external or low-trust actors; (2) a form submission event from a victim is required; (3) the victim must have an active n8n session for session-based impact to apply, though script execution occurs regardless.

Impact

The CVSS 4.0 score of 8.4 (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N) accurately reflects the attack's realistic profile: low complexity and network-accessible, but gated behind a low-privileged authenticated account (PR:L) and requiring a victim to submit the form (UI:A). The high confidentiality and integrity ratings on the vulnerable system reflect the same-origin script execution scope, which enables full session compromise. There is no CISA KEV listing and no EPSS data was provided in the source intelligence, making it impossible to quantify current exploitation probability numerically - the real-world risk is therefore driven by threat-actor access to n8n member accounts rather than opportunistic internet-wide scanning. Organizations running n8n instances where untrusted or semi-trusted collaborators can create workflows face meaningfully higher exposure than those with tightly controlled admin-only workflow authoring. No conflicting signals exist between the CVSS vector and the description.

Exploit ScenarioDerived

A low-privileged n8n workspace member crafts a workflow in which a Form node uses a dynamic expression to set respondWith to 'redirect' while embedding a JavaScript payload in responseText. The public form URL is distributed to targets; when a victim submits the form, the completion page renders the attacker's script without CSP protection in the n8n origin, allowing the attacker to exfiltrate the victim's n8n session token. No public proof-of-concept code has been identified, but the vulnerability class is well-understood and the bypass mechanism is straightforward to replicate from the advisory description.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 20, 2026

Stored XSS in n8n's Form node completion page allows a low-privileged authenticated workspace member to bypass the origin's Content-Security-Policy and deliver arbitrary scripts to public form submitters. The flaw stems from a conditional CSP application gap: sandboxing was only enforced when respondWith was not set to 'redirect', yet responseText was rendered as raw HTML regardless of that setting. Scripts injected this way execute same-origin with the victim's n8n session, enabling session token theft, credential harvesting, or unauthorized actions. No public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upgrade to n8n 1.123.69, 2.33.4, or 2.34.1 per the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-rmr5-775f-jvm2. These are the exact patched versions identified by the vendor. If immediate upgrading is not feasible, the most actionable compensating control is to restrict which authenticated users can create or modify workflows containing Form nodes - since exploitation requires a low-privileged member with workflow-edit access, reducing that permission surface directly limits attack paths. Additionally, auditing existing Form node workflows for unexpected use of dynamic expressions in respondWith fields combined with populated responseText can help detect prior or attempted abuse. There is no known safe workaround that preserves full Form node functionality without patching.

Affected VersionsENISA

n8n 0 <1.123.69
n8n 0 <2.33.4
n8n 0 <2.34.1

Affected Packages

euvd n8n fix: 1.123.69, 2.33.4, 2.34.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

n8n is a node-based workflow automation platform (cpe:2.3:a:n8n-io:n8n) that exposes a Form node for building public-facing data-collection forms. The completion page - shown after submission - conditionally applied a CSP sandbox only when the respondWith field was not set to 'redirect'. However, responseText was always injected into the DOM as raw HTML, creating a CSP bypass path when an authenticated user set respondWith to 'redirect' via a dynamic n8n expression. CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting) identifies the root cause: user-controlled content reaching HTML output without consistent sanitization or policy enforcement across all code paths.

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 8.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.7 HIGH

PR:L because an authenticated member is required; UI:R for the form-submitting victim; S:C because the vulnerable n8n server component impacts the victim's browser session in a different security scope.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 12:16 EUVD
CVE Published
Aug 20, 2026 - 11:21 cve.org
HIGH 8.4

DescriptionCVE.org

n8n before 1.123.69, 2.33.4, and 2.34.1 contains a stored cross-site scripting vulnerability in the Form node's completion page. The completion page applied its sandboxing Content-Security-Policy only when respondWith was not set to 'redirect', but responseText was always rendered as raw HTML. An authenticated member could set respondWith to 'redirect' via an expression while keeping responseText populated, causing the completion page to serve unsanitized HTML and script from the n8n origin. Any visitor who submitted the resulting public form would have that script execute same-origin with their session.

Executive ViewAI

Why It Matters

n8n's Form node contains a code injection vulnerability that allows internal users to compromise public form submissions, enabling credential theft and unauthorized access to automation workflows. Organizations using n8n Form nodes for customer-facing processes face data exposure and system compromise risks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Restrict Form node creation and modification to administrators only; disable Form node completion responses until patched; implement WAF rules to detect and block script injection patterns; monitor form submission logs for indicators of compromise; enforce additional CSP headers at the reverse-proxy level; consider disabling Form nodes in non-production environments as a precaution.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular self-hosted and cloud workflow automation platform with active open-source adoption
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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-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

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

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