CVE-2025-58177
published 2025-09-15CVE-2025-58177: 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…
PriorityP427medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
0.22%
12.6th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| n8n-io | n8n | — | — |
| n8n | n8n | >= 1.24.0 < 1.107.0 | 1.107.0 |
| n8n | n8n | >= 1.24.0 < 1.107.0 | 1.107.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
ghsa·2025-09-15
CVE-2025-58177 [MEDIUM] CWE-79 Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
### Impact
A stored Cross-Site Scripting (XSS) vulnerability was identified in the `@n8n/n8n-nodes-langchain.chatTrigger` node in n8n. If an authorized user configures the node with malicious JavaScript in the initialMessages field and enables public access, the script will be executed in the browser of anyone who visits the resulting public chat URL.
This vulnerability could be exploited for phishing or to steal cookies or other sensitive data from users who access the public chat link, posing a security risk.
### Patches
This issue has been patched in version 1.107.0 of n8n. Users should upgrade to version 1.107.0 or later.
### Workarounds
Disabling the `n8n-nodes-langchain.chatTrigger` node ([docs](https://d
OSV
Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
osv·2025-09-15
CVE-2025-58177 [MEDIUM] Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
### Impact
A stored Cross-Site Scripting (XSS) vulnerability was identified in the `@n8n/n8n-nodes-langchain.chatTrigger` node in n8n. If an authorized user configures the node with malicious JavaScript in the initialMessages field and enables public access, the script will be executed in the browser of anyone who visits the resulting public chat URL.
This vulnerability could be exploited for phishing or to steal cookies or other sensitive data from users who access the public chat link, posing a security risk.
### Patches
This issue has been patched in version 1.107.0 of n8n. Users should upgrade to version 1.107.0 or later.
### Workarounds
Disabling the `n8n-nodes-langchain.chatTrigger` node ([docs](https://d
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-09-15
Published