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

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-03-27T18:06:49.000Z
- Modified: 2026-10-29T21:15:46.988Z
- Also known as: GHSA-3c7f-5hgj-h279
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- n8n n8n: before 1.123.27; from 2.0.0-rc.0 before 2.13.3; from 2.14.0 before 2.14.1; from 2.0.0 before 2.13.3; 2.14.0 (not affected: 1.123.27; 2.13.3; 2.14.1)
- n8n (npm): before 1.123.27; from 2.14.0 before 2.14.1; from 2.0.0-rc.0 before 2.13.3

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-3c7f-5hgj-h279> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/n8n-stored-cross-site-scripting-in-chat-trigger-node-custom-css-field> (third-party-advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-56356](https://www.cve.org/CVERecord?id=CVE-2026-56356), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-3c7f-5hgj-h279](https://github.com/advisories/GHSA-3c7f-5hgj-h279), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-56356](https://nvd.nist.gov/vuln/detail/CVE-2026-56356), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-56356 · Whole record: https://cve.day/CVE-2026-56356.json · Rebuilt by cve.day 2026-11-25T22:59:26.849Z
