Vulnerability · Published Jun 24, 2026 · Assigned by VulnCheck

CVE-2026-56358n8n - Stored Cross-Site Scripting in Form Trigger Node

Medium 5.4

In plain English

A medium-severity cross-site scripting in n8n from n8n. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 84.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n2.11.2GHSA-q4fm-pjq6-m63g
npmn8n1.123.25GHSA-q4fm-pjq6-m63g

Affected products (as reported)

VendorProductVersions
n8n n8n 0 – before 1.123.252.0.0-rc.0 – before 2.11.2
n8n n8n 2.0.0-rc.0 – before 2.11.2
n8n n8n 0 – before 1.123.25

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References