Live threats

All CVEs / N8n

CVE-2026-56356N8n

Medium 5.1

Priority
31
CVSS 4.0
5.1
EPSS
—
Auth required
Yes
Published
Jun 30, 2026
Updated
Oct 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
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

What happens

n8n contains a stored cross-site scripting vulnerability in the Chat Trigger node's Custom CSS field due to a misconfiguration of the sanitize-html library. Affected releases are those before 1.123.27, the 2.0.0 through 2.13.2 line, and 2.14.0 (fixed in 1.123.27, 2.13.3, and 2.14.1). An authenticated user with permission to create or modify workflows can inject JavaScript that bypasses sanitization, resulting in stored XSS against any user who visits the public chat page.

Original NVD text.

What to do

  1. Apply the vendor's security update for N8n.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm n8n < 1.123.27 1.123.27 npm install n8n@1.123.27
npm n8n ≥ 2.14.0 < 2.14.1 2.14.1 npm install n8n@2.14.1
npm n8n ≥ 2.0.0-rc.0 < 2.13.3 2.13.3 npm install n8n@2.13.3

Per OSV / GitHub Advisories (GHSA-3c7f-5hgj-h279). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
n8nn8n< 1.123.27
n8nn8n≥ 2.0.0 < 2.13.3
n8nn8n2.14.0

Official sources

References

Links published by the sources. Open them with care.