{"id":"CVE-2025-58177","revision":"c9bfb24036764fbf8c913df04ead7659","records":[{"revision":"c9bfb24036764fbf8c913df04ead7659","observedAt":"2026-10-25T03:17:18.142+00:00","statement":{"source":"nvd","id":"CVE-2025-58177","aliases":[],"title":"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 Trigg…","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.","state":0,"publishedAt":"2025-09-15T17:15:35.783+00:00","modifiedAt":"2026-10-19T17:10:00.173+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"references":["https://github.com/n8n-io/n8n/commit/d4ef191be0b39b65efa68559a3b8d5dad2e102b2","https://github.com/n8n-io/n8n/pull/18148","https://github.com/n8n-io/n8n/security/advisories/GHSA-mvh4-2cm2-6hpg"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-58177","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-79"],"productCriteria":["cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-09-15T17:15:35.783","lastModified":"2026-10-19T17:10:00.173"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-58177","identifiers":["CVE-2025-58177"]},"retained":false,"historicalAffected":[]}],"coverage":[]}