CVE-2026-56354
JSON

5.1medium

n8n - Cross-Site Scripting and Open Redirect in Form Node

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-w673-8fjw-457c

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.

Affected

Product or packageVersionsReported by
n8n n8nbefore 1.123.24, from 2.0.0-rc.0 before 2.10.4, from 2.11.0 before 2.12.0, from 2.0.0 before 2.10.4, from 2.10.0 before 2.10.4
Not affected: 1.123.24, 2.10.4, 2.12.0
CVE List, NVD
n8n (npm)from 2.11.0 before 2.12.0, from 2.0.0-rc.0 before 2.10.4, before 1.123.24GitHub Advisory Database

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck4.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
GitHub4.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Impact

An authenticated user with permission to create or modify workflows could configure a Form Node with an unsanitized HTML description field or exploit an overly permissive iframe sandbox policy to perform stored cross-site scripting or redirect end users visiting the form to an arbitrary external URL. The vulnerability could be used to facilitate phishing attacks.

Patches

The issue has been fixed in n8n versions 1.123.24, 2.10.4 and 2.12.0. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Disable the Form node by adding n8n-nodes-base.form to the NODES_EXCLUDE environment variable.
  • Disable the Form Trigger node by adding n8n-nodes-base.formTrigger to the NODES_EXCLUDE environment variable.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56354 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-w673-8fjw-457c changed 2026-07-11CC-BY-4.0
NVDCVE-2026-56354 changed 2026-10-29Public domain