Stored Cross-Site Scripting Vulnerability in n8n Workflow Automation Platform
CVE-2025-61914
What is CVE-2025-61914?
The n8n workflow automation platform is susceptible to a stored Cross-Site Scripting (XSS) vulnerability affecting versions before 1.114.0. If the 'Respond to Webhook' node processes HTML content containing executable scripts, the malicious payload can run in the top-level window instead of the intended sandbox environment introduced in version 1.103.0. This flaw allows users with workflow creation permissions to execute arbitrary JavaScript within the n8n editor interface. To address this issue, it is recommended to update to version 1.114.0. Additionally, restrict workflow creation and modification privileges to trusted users, avoid using untrusted HTML in the 'Respond to Webhook' node, and implement an external reverse proxy or HTML sanitizer to filter potentially harmful scripts.
Affected Version(s)
n8n < 1.114.0
