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.
Published: 2026-10-14
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS
Action: Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw that occurs when workflow authors set the customCss parameter in a Chat Trigger. Untrusted customCss values are injected into the hosted‑chat page as markup without proper sanitisation. When the chat page is viewed, any malicious script runs with the origin privileges of the n8n instance and can interact with the sessions of visitors who are logged in, potentially hijacking credentials or performing other malicious actions. This represents a web‑based code execution risk confined to the browser context of the instance, not a full‑system compromise.

Affected Systems

The flaw affects all versions of n8n prior to 1.123.83, prior to 2.41.4 in the 2.x branch, and prior to 2.42.1 in the 2.42.x branch. The affected product is n8n, the workflow automation platform; any installations running those vulnerable releases are impacted.

Risk and Exploitability

With a CVSS score of 7, the flaw is considered high impact. The EPSS score is currently not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploits at the time of writing. However, the attack vector is simple and accessible from the web interface: workflow authors who can publish a chat trigger without authentication can embed malicious customCss. Because the payload executes in the context of signed‑in users, even non‑authenticated operators could potentially target regular users of the instance, making the risk moderate to high. No external conditions or complex prerequisites are required, increasing the likelihood of exploitation.

Generated by OpenCVE AI on October 15, 2026 at 12:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to a patched release—1.123.83, 2.41.4, 2.42.1, or later—to eliminate the flawed customCss handling.
  • Restrict the ability to publish Chat Triggers that lack user authentication; limit publishing privileges or enable a default authentication requirement for chat pages.
  • Audit existing workflows for customCss usage in Chat Triggers, and either remove the parameter or ensure the input is properly escaped before rendering.

Generated by OpenCVE AI on October 15, 2026 at 12:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title n8n before 1.123.83, 2.41.4, and 2.42.1 Stored XSS via Chat Trigger customCss Parameter
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T13:43:58.755Z

Reserved: 2026-10-14T22:12:22.055Z

Link: CVE-2026-110847

cve-icon Vulnrichment

Updated: 2026-10-15T13:43:55.239Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T23:17:25.407

Modified: 2026-10-15T14:17:21.007

Link: CVE-2026-110847

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T12:15:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')