+ "details": "### Summary\nA stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node.\nWhen this node responds with HTML content containing executable scripts, the payload may execute directly in the top-level window, rather than within the expected sandbox introduced in version 1.103.0.\n\nThis behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface.\n\nWhile session cookies (`n8n-auth`) are marked `HttpOnly` and cannot be directly exfiltrated, the vulnerability can facilitate Cross-Site Request Forgery (CSRF)-like actions from within the user’s authenticated session, potentially allowing:\n\n- Unauthorized reading of sensitive workflow data or execution history.\n- Unauthorized modification or deletion of workflows.\n- Insertion of malicious workflow logic or external data exfiltration steps.\n\nn8n instances that allow untrusted users to create workflows are particularly impacted.\n\n### Patches\nThe vulnerability has been patched in v.1.114.0.\n\n### Workarounds\n- Restrict workflow creation and modification privileges to trusted users only.\n- Avoid using untrusted HTML responses in the “Respond to Webhook” node.\n- Use an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.",
0 commit comments