{"cve":"CVE-2026-56356","nvd":{"published":"2026-06-30T23:17:30.997","modified":"2026-10-29T19:17:22.517","status":"Analyzed","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.","cvss_v4":{"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","score":5.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"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"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-29T19:44:52.144667018+00:00"},"epss":{"cve":"CVE-2026-56356","score":0.0025,"percentile":0.16396,"date":"2026-10-29"},"kev":null,"osv":[{"id":"GHSA-3c7f-5hgj-h279","url":"https://osv.dev/vulnerability/GHSA-3c7f-5hgj-h279","summary":"n8n has XSS in Chat Trigger Node through Custom CSS","modified":"2026-07-08T08:13:08.545063543Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.27"],"fixed":["1.123.27"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.14.0 <2.14.1"],"fixed":["2.14.1"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.0.0-rc.0 <2.13.3"],"fixed":["2.13.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}