Intel

AIKIDO-2025-10571

@n8n/n8n-nodes-langchain is vulnerable to Cross-site Scripting (XSS)

CVE-2025-58177Published Aug 20, 2025
August 20, 2025

55

CVE Score

Medium

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the Chat Trigger Node, allowing an attacker to inject and execute malicious scripts in a user's browser.

How do I fix this?

Upgrade the @n8n/n8n-nodes-langchain library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.24.0 - 1.106.0

Fixed in 1.107.0

Background info

@n8n/n8n-nodes-langchain is vulnerable to Cross-site Scripting (XSS) in versions 1.24.0 - 1.106.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea