8n is an open source workflow automation platform. From 1.24.0 to before 1.107.0, there is a stored cross-site scripting (XSS) vulnerability in @n8n/n8n-nodes-langchain.chatTrigger. An authorized user can configure the LangChain Chat Trigger node with malicious JavaScript in the initialMessages field and enable public access so that the payload is executed in the browser of any user who visits the resulting public chat URL. This can be used for phishing or to steal cookies or other sensitive data from users accessing the public chat link. The issue is fixed in version 1.107.0. Updating to 1.107.0 or later is recommended. As a workaround, the affected chatTrigger node can be disabled. No other workarounds are known.
| Link | Resource |
|---|---|
| https://github.com/n8n-io/n8n/commit/d4ef191be0b39b65efa68559a3b8d5dad2e102b2 | Patch |
| https://github.com/n8n-io/n8n/pull/18148 | Issue Tracking |
| https://github.com/n8n-io/n8n/security/advisories/GHSA-mvh4-2cm2-6hpg | Vendor Advisory |
14 Oct 2025, 19:34
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
N8n
N8n n8n |
|
| CPE | cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/n8n-io/n8n/commit/d4ef191be0b39b65efa68559a3b8d5dad2e102b2 - Patch | |
| References | () https://github.com/n8n-io/n8n/pull/18148 - Issue Tracking | |
| References | () https://github.com/n8n-io/n8n/security/advisories/GHSA-mvh4-2cm2-6hpg - Vendor Advisory |
16 Sep 2025, 12:49
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Published : 2025-09-15 17:15
Updated : 2025-10-14 19:34
NVD link : CVE-2025-58177
Mitre link : CVE-2025-58177
CVE.ORG link : CVE-2025-58177
JSON object : View
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')