PT-2026-50168 · N8N · N8N
CVSS v3.1
7.6
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
n8n versions prior to 1.123.55
n8n versions prior to 2.25.7
n8n versions prior to 2.26.2
Description
An authenticated user with workflow edit access can inject arbitrary JavaScript into the page generated by the Chat Trigger by providing a malicious
webhookId. This allows the injected code to execute within the n8n origin using the session privileges of any logged-in user who visits the chat URL.Recommendations
Update to version 1.123.55.
Update to version 2.25.7.
Update to version 2.26.2.
Limit workflow creation and editing permissions to fully trusted users only.
Disable the Chat Trigger node by adding
@n8n/n8n-nodes-langchain.chatTrigger to the NODES EXCLUDE environment variable.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
N8N