| Component | n8n |
| Severity | high (CVSS 7) |
| CVSS vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Published (NVD) | 2026-10-14 |
| Affected versions | < 1.123.83 < 2.41.4 >= 2.42.0, < 2.42.1 read from the advisory text, followed where the structured sources say otherwise |
| Fixed in | 2.41.4, 2.42.1 |
| Weakness | CWE-79 |
| CISA KEV | not listed |
NVD description
n8n before 1.123.83, 2.x before 2.41.4, and 2.42.x before 2.42.1 contains a stored cross-site scripting vulnerability in the Chat Trigger hosted-chat page, where insufficiently sanitised customCss values are interpolated into the page as markup. Workflow authors can publish a chat without n8n user authentication whose payload executes on the instance origin, acting on the sessions of signed-in visitors.
What to do
- Upgrade n8n to the fixed release of the branch you run:
2.41.4or2.42.1, or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-110847
- https://github.com/n8n-io/n8n/security/advisories/GHSA-x5cw-hm7v-q7mj
- https://www.vulncheck.com/advisories/n8n-before-1.123.83-2.41.4-and-2.42.1-stored-xss-via-chat-trigger-customcss-parameter