CVE-2026-56356
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.
Severity
MEDIUM
CVSS v3
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N · source cna
CVSS v4
5.1
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 · source cna
Exploit chance (EPSS)
0.250%
chance of exploitation in the next 30 days
higher than 16.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-01 |
Timeline
- 2026-03-27GitHub advisory published (GHSA-3c7f-5hgj-h279)95 days before publication
- 2026-06-30Published by the CNA22:08 UTC
- 2026-07-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-3c7f-5hgj-h279, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm n8n | before 1.123.27 | 1.123.27 |
| npm n8n | from 2.0.0-rc.0 before 2.13.3 | 2.13.3 |
| npm n8n | from 2.14.0 before 2.14.1 | 2.14.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| n8n n8n | before 1.123.27fixed in 1.123.27from 2.0.0 before 2.13.3fixed in 2.13.3from 2.0.0-rc.0 before 2.13.3fixed in 2.13.3from 2.14.0 before 2.14.1fixed in 2.14.12.14.0no fix listed | 1.123.272.13.32.13.32.14.1not listed |
References
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56356'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56356'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56356'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56356'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).