Description
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.
Published: 2026-07-10
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Form Node accepts unescaped HTML in its description field and applies an overly permissive iframe sandbox policy, creating a stored cross‑site scripting (XSS) vulnerability and an open redirect flaw. When a workflow is executed that contains a maliciously crafted description, the payload is rendered in the browser of any user who views the workflow. The embedded scripts can steal session cookies or perform other client‑side attacks, while the open redirect allows an attacker to embed a URL that can lure users to malicious sites. Both behaviors are classified as CWE‑79.

Affected Systems

All n8n installations running a pre‑1.123.24 release on the 1.x branch or a pre‑2.10.4 or pre‑2.12.0 release on the 2.x branch are affected. These deployments run on Node.js and use the Form Node within workflows. Any user who has the privilege to create or edit a workflow can exploit the vulnerability by injecting malicious content into the description field of a Form Node.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score of < 1 % shows that, at the time of analysis, exploitation is unlikely, but the flaw remains exploitable. Attackers need authenticated workflow modification rights; once a compromised workflow is run, the XSS or open redirect payload will execute in the browsers of any user viewing the workflow, potentially compromising their sessions or facilitating phishing.

Generated by OpenCVE AI on July 29, 2026 at 10:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 1.123.24 or later for the 1.x branch, or to version 2.10.4 or later for the 2.x branch.
  • Remove or sanitize any existing Form Node description fields that contain embedded HTML or scripts before the workflow is published.
  • Restrict workflow creation and editing permissions to trusted users only, ensuring that only authorized personnel can modify the Form Node description field.

Generated by OpenCVE AI on July 29, 2026 at 10:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 10 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n - Cross-Site Scripting and Open Redirect in Form Node
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-10T16:42:43.575Z

Reserved: 2026-06-20T18:13:07.364Z

Link: CVE-2026-56354

cve-icon Vulnrichment

Updated: 2026-07-10T16:42:38.688Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:00:13Z

Weaknesses
  • CWE-79

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