Skip to main content

n8n CVE-2026-56358

| EUVDEUVD-2026-38754 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 VulnCheck
5.1
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.4 MEDIUM

Low-privilege authenticated attacker stores payload affecting all form visitors (scope change); CSP limits confidentiality to non-cookie form data; no availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

3
Patch available
Jun 24, 2026 - 13:01 EUVD
Source Code Evidence Fetched
Jun 24, 2026 - 12:24 vuln.today
Analysis Generated
Jun 24, 2026 - 12:24 vuln.today

DescriptionCVE.org

n8n before 1.123.25 (1.x) and before 2.11.2 (2.x), with the fix also included in 2.12.0, contains a stored cross-site scripting vulnerability in the Form Trigger node's CSS sanitization that allows authenticated users to inject malicious scripts. Attackers with workflow creation permissions can inject XSS payloads that execute persistently for all form visitors, enabling form hijacking and phishing attacks.

AnalysisAI

Stored XSS in n8n's Form Trigger node allows any authenticated low-privilege user with workflow creation rights to inject persistent malicious scripts that execute for every visitor of a published form. Affects n8n 1.x before 1.123.25 and 2.x from 2.0.0-rc.0 before 2.11.2. No public exploit or active exploitation identified at time of analysis; the CVSS 4.0 score of 5.1 reflects partial CSP mitigation blocking session cookie theft while still permitting form hijacking and phishing against unlimited downstream victims.

Technical ContextAI

n8n is an open-source workflow automation platform distributed as the npm package 'n8n' (CPE: cpe:2.3:a:n8n:n8n). Its Form Trigger node allows users to publish externally accessible HTML forms that collect visitor-submitted data. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation) specifically in the CSS sanitization logic applied to Form Trigger node inputs - the sanitizer fails to block injected JavaScript within CSS constructs, permitting stored payloads to persist in the published form's DOM. Unlike reflected XSS, the stored nature means a single injection event affects all subsequent form visitors without further attacker interaction. The vendor's existing Content Security Policy provides partial mitigation by preventing direct n8n session cookie exfiltration, but does not block script execution or manipulation of form submission targets.

RemediationAI

Vendor-released patches are available: upgrade n8n to version 2.11.2 or 2.12.0 (for 2.x deployments) or to 1.123.25 (for 1.x deployments), as confirmed by GHSA-q4fm-pjq6-m63g at https://github.com/n8n-io/n8n/security/advisories/GHSA-q4fm-pjq6-m63g. If immediate upgrade is not feasible, two vendor-documented temporary mitigations exist: first, restrict workflow creation and editing permissions to fully trusted users only, which reduces the attack surface to a smaller principal set but may disrupt operational workflows for broader teams; second, disable the Form Trigger node entirely by adding the string 'n8n-nodes-base.formTrigger' to the NODES_EXCLUDE environment variable, which eliminates the vulnerable attack surface entirely but renders all Form Trigger-based workflows non-operational until the patch is applied. The vendor explicitly notes these workarounds do not fully remediate the risk and should be treated as short-term measures only.

More in N8n

View all
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-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

CVE-2026-33663 HIGH POC
8.5 Mar 25

n8n workflow automation platform Community Edition contains an authorization bypass vulnerability allowing authenticated

CVE-2023-27564 HIGH POC
7.5 May 10

The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is

Share

CVE-2026-56358 vulnerability details – vuln.today

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