1. Home
  2. Vulnerabilities
  3. CVE-2026-56356

CVE-2026-56356

n8n - Stored Cross-Site Scripting in Chat Trigger Node Custom CSS Field

Published 30 Jun 2026 · modified 29 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 25/100

Summary

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.

Affected products and versions

N8n (6 line(s))
N8n
ProductVersionsFixed inSource
N8n before 1.123.27 (excluded) — CNA (vendor or assigner)
N8n from 2.0.0-rc.0 (included) to 2.13.3 (excluded) — CNA (vendor or assigner)
N8n from 2.14.0 (included) to 2.14.1 (excluded) — CNA (vendor or assigner)
N8n before 1.123.27 (excluded) — NVD
N8n from 2.0.0 (included) to 2.13.3 (excluded) — NVD
N8n 2.14.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, CNA:VulnCheck)
Weakness
CWE-79 · Script intersite (XSS)

How this data is obtained and calculated