Description
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.
Published: 2026-08-20
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting allowing authenticated users to launch same‑origin scripts against anyone who submits the affected form
Action: Immediate Patch
AI Analysis

Impact

n8n versions prior to 1.123.69, 2.33.4, and 2.34.1 contain a stored XSS flaw in the Form node's completion page. The sandboxing Content‑Security‑Policy is applied only when respondWith is not set to ‘redirect’, yet responseText is always rendered as raw HTML. An authenticated member can set respondWith to ‘redirect’ via an expression while keeping a populated responseText. This causes the completion page to serve unsanitized HTML and script from the same origin, resulting in arbitrary same‑origin script execution for any visitor who submits the public form.

Affected Systems

All installations of n8n running the listed vulnerable versions – specifically n8n‑io:n8n versions 1.123.68 or earlier, 2.33.3, and 2.34.0 – are affected. The vulnerability arises in any deployment that uses the Form node and allows an authenticated member to inject content into the responseText field.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, and the vulnerability permits authenticated users to craft malicious HTML that will execute for any form submitter. Although EPSS is not available, the flaw is known and a public advisory exists. The potential impact includes data exfiltration, session hijacking, or lateral movement within the same origin. The attack vector requires the attacker to be an authenticated member with access to the Form node; no additional external exposure is needed.

Generated by OpenCVE AI on August 20, 2026 at 21:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n 1.123.69 or later (or 2.33.5+ and 2.34.2+).
  • If an upgrade is not immediately possible, disable or remove the Form node from public workflows, or restrict expression usage that can set respondWith to ‘redirect’.
  • Add or tighten a custom Content‑Security‑Policy that forbids inline script execution and sets frame‑ancestors to ‘none’ to mitigate potential exploitation.

Generated by OpenCVE AI on August 20, 2026 at 21:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:2.34.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}


Thu, 20 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 1.123.69 Stored XSS via Form Completion Page
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.4, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-21T11:21:16.263Z

Reserved: 2026-08-20T10:51:39.783Z

Link: CVE-2026-77072

cve-icon Vulnrichment

Updated: 2026-08-20T14:51:49.542Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T12:16:38.487

Modified: 2026-09-01T20:01:10.743

Link: CVE-2026-77072

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T13:02:11Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')