Skip to main content
← All vulnerabilities
CVE-2025-58177GHSA-MVH4-2CM2-6HPG

n8n stored cross-site scripting in LangChain Chat Trigger node initialMessages parameter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.107.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n8n-io n8n

    From 1.24.0 · fixed in 1.107.0

  • n8nnpm

    From 1.24.0 · fixed in 1.107.0

References 3

GitHub · n8n-io/n8n