GHSA-mvh4-2cm2-6hpg · Severity: medium · Ecosystem: npm — Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
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.
Conclusion & alert: CVE-2025-58177 is rated Low Risk (26.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.22%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.22% | +0.20% |
| 2 | 2026-02-11 | 0.05% | 0.02% | -0.03% |
| 3 | 2026-01-15 | — | 0.05% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
GHSA-mvh4-2cm2-6hpg · Severity: medium · Ecosystem: npm — Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
| URL | Tags |
|---|---|
| https://github.com/n8n-io/n8n/commit/d4ef191be0b39b65efa68559a3b8d5dad2e102b2 | Patch |
| https://github.com/n8n-io/n8n/pull/18148 | Issue Tracking |
| https://github.com/n8n-io/n8n/security/advisories/GHSA-mvh4-2cm2-6hpg | Vendor Advisory |