CVE-2026-110847

n8n before 1.123.83, 2.41.4, and 2.42.1 Stored XSS via Chat Trigger customCss Parameter

Published Oct 14, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 1:43 PM
Reserved
Oct 14, 2026, 10:12 PM
Status
Deferred
Published
Oct 14, 2026, 11:17 PM
Modified
Oct 15, 2026, 2:17 PM