CVE-2025-58177 Details
Description
n8n 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.
A stored cross-site scripting vulnerability has been identified in the n8n workflow automation platform, specifically within the LangChain Chat Trigger node, versions 1.24.0 prior to 1.107.0. The vulnerability allows an authorized user to inject malicious JavaScript into the initialMessages field. If public access is enabled, the injected script executes in the browser of anyone who visits the public chat URL. This could be exploited for phishing attacks or to steal cookies and other sensitive data from users accessing the link.
Users are advised to update to n8n version 1.107.0 or later. If an immediate update is not possible, the affected LangChain Chat Trigger node can be disabled.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | >= 1.24.0, < 1.107.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | [email protected] |