CVE-2025-58177

MEDIUM CVSS 3.1: 5.4 EPSS 0.25%
Updated Oct 19, 2026
N8N
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions 1.24.0 — 1.107.0
Fixed In 1.107.0
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor N8N
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
1.24.0 1.107.0