# CVE-2026-56356: n8n - Stored Cross-Site Scripting in Chat Trigger Node Custom CSS Field

> CVE-2026-56356: n8n - Stored Cross-Site Scripting in Chat Trigger Node Custom CSS Field. CVSS 5.4 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-56356
Last updated: 2026-07-02T19:38:43Z

- Published: 2026-06-30 22:08 UTC · Updated: 2026-07-02 19:38 UTC · Assigner: VulnCheck
- CVSS: 5.4 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.25%, 16th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-79

## 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.

## Affected vendors and products

- n8n: n8n

## Tracked companies

- [n8n](https://rewindex.com/company/n8n.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-56356)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-56356)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-3c7f-5hgj-h279](https://github.com/n8n-io/n8n/security/advisories/GHSA-3c7f-5hgj-h279)
- [https://www.vulncheck.com/advisories/n8n-stored-cross-site-scripting-in-chat-trigger-node-custom-css-field](https://www.vulncheck.com/advisories/n8n-stored-cross-site-scripting-in-chat-trigger-node-custom-css-field)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-56356 · Markdown: https://rewindex.com/cve/CVE-2026-56356.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-56356 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:36.041Z
