CVE 5.4 MEDIUM

n8n stored cross-site scripting in LangChain Chat Trigger node initialMessages parameter_CVE-2025-58177

5.4 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2025-58177
Source GitHub_M
Published Sep 15, 2025 at 16:49

Affected Product

Vendor n8n-io
Product n8n
Version >= 1.24.0, < 1.107.0
Affected Versions n8n-io n8n >= 1.24.0, < 1.107.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.