Browse / AI Framework and Platform Flaws / CVE-2025-56265
N8N's Chat Trigger component is vulnerable to XSS
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Cross-site scripting
- Affected
- @n8n/n8n-nodes-langchain (npm)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
The Chat Trigger accepts arbitrary file uploads, including HTML files that execute script when opened in the application's origin. (Our summary, written by a model. The source text is below.)
Details
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attackers to execute arbitrary code via uploading a crafted HTML file.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-56265
- https://github.com/n8n-io/n8n/pull/18148
- https://github.com/n8n-io/n8n
- https://github.com/n8n-io/n8n/releases/tag/n8n%401.107.0
- https://github.com/nikolas-ch/CVEs/blob/main/N8N/N8N_v1.100.1/ChatTrigger_StoredXSSviaUnrestrictedFileUpload/StoredXSSviaUnristrictedFileUpload.txt
Source: GitHub Advisory Database, used under CC BY 4.0.