Skip to content
n8nGHSA-58jc-rcg5-95f3

n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox

High7.3CVE-2025-61914 · Published Dec 26, 2025 · updated Dec 27, 2025

### Summary A stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node. When 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. This behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface. While 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: - Unauthorized reading of sensitive workflow data or execution history. - Unauthorized modification or deletion of workflows. - Insertion of malicious workflow logic or external data exfiltration steps. n8n instances that allow untrusted users to create workflows are particularly impacted. ### Patches The vulnerability has been patched in v.1.114.0. ### Workarounds - Restrict workflow creation and modification privileges to trusted users only. - Avoid using untrusted HTML...

GitHub advisory

Affected versions

PackageAffectedFixed in
n8n
npm
< 1.114.01.114.0
Details and references

### Summary A stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node. When 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. This behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface. While 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: - Unauthorized reading of sensitive workflow data or execution history. - Unauthorized modification or deletion of workflows. - Insertion of malicious workflow logic or external data exfiltration steps. n8n instances that allow untrusted users to create workflows are particularly impacted. ### Patches The vulnerability has been patched in v.1.114.0. ### Workarounds - Restrict workflow creation and modification privileges to trusted users only. - Avoid using untrusted HTML responses in the “Respond to Webhook” node. - Use an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-79
Also known as
CVE-2025-61914

More n8n advisories

All n8n
Advisory
n8n's Missing Stripe-Signature Verification Allows Unauthenticated Forged Webhooks
Medium6.5Jan 7
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
Critical10.0Jan 7
n8n Vulnerable to RCE via Arbitrary File Write
Critical9.9Jan 6
Self-hosted n8n has Legacy Code node that enables arbitrary file read/write
High7.1Dec 26, 2025
n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
Critical9.9Dec 26, 2025
n8n Vulnerable to Remote Code Execution via Expression Injection
Critical9.9Dec 22, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.