CVE-2025-58177CWE-79cross-site-scripting

CVE-2025-58177

Medium · published September 15, 2025

CVSS v3.1
5.4
EPSS
0%
Percentile
14.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00243 · 14.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-09-15T21:15Z
Affected products (1)
ProductVersionsFixed in
n8n/n8n≥ 1.24.0, < 1.107.01.107.0
References (3)
EPSS history
Timeline
  • 15 SEP 16:49Z
    n8n stored cross-site scripting in LangChain Chat Trigger node initialMessages parameter
    cvelistv5