{"id":70195,"date":"2025-09-15T22:32:05","date_gmt":"2025-09-15T19:02:05","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-58177-n8n-stored-cross-site-scripting-in-langchain-chat-trigger-node-initialmessages-parameter\/"},"modified":"2025-09-15T22:32:05","modified_gmt":"2025-09-15T19:02:05","slug":"cve-2025-58177-n8n-stored-cross-site-scripting-in-langchain-chat-trigger-node-initialmessages-parameter","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-58177-n8n-stored-cross-site-scripting-in-langchain-chat-trigger-node-initialmessages-parameter\/","title":{"rendered":"CVE-2025-58177 &#8211; n8n stored cross-site scripting in LangChain Chat Trigger node initialMessages parameter"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-58177<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 15, 2025, 5:15 p.m. | 1\u00a0hour, 39\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 5.4 | MEDIUM<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-58177 Published : Sept. 15, 2025, 5:15 p.m. | 1\u00a0hour, 39\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-70195","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=70195"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70195\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=70195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=70195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=70195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}