CVE-2026-56356

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductN8n
PublishedJun 30, 2026
First seenJun 30, 2026

How to fix

Update
  • n8n n8n1.123.27, 2.13.3 or later
  • n8n1.123.27, 2.14.1, 2.13.3 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 1.123.27, 2.0.0 ≤ v < 2.13.3, 2.14.01.123.27, 2.13.3
n8nnpmv < 1.123.27, 2.14.0 ≤ v < 2.14.1, 2.0.0-rc.0 ≤ v < 2.13.31.123.27, 2.14.1, 2.13.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.