CVE-2025-58177: n8n · Cross-site Scripting
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium · fixed in 1.107.0 : update n8n when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.107.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate this vulnerability effectively, European organizations should prioritize upgrading all n8n instances to version 1.107.0 or later where the vulnerability is patched. Until upgrades can be performed, administrators should disable the @n8n/n8n-nodes-langchain.chatTrigger node to prevent exploitation. It is critical to audit and restrict authorized user permissions rigorously to minimize the risk of malicious configuration changes, employing the principle of least privilege. Organizations should also implement strict access controls and monitoring on any public URLs generated by n8n workflows, including web application firewalls (WAFs) configured to detect and block XSS payloads. Regular security training should be provided to users to recognize phishing attempts potentially stemming from this vulnerability. Additionally, logging and alerting mechanisms should be enhanced to detect unusual configuration changes or access patterns related to the chat trigger node. Conducting periodic security assessments and penetration testing focusing on workflow automation platforms can help identify residual risks. Finally, organizations should maintain an incident response plan tailored to web application attacks to quickly contain and remediate any exploitation attempts.
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.