Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-61914

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

CVE-2025-61914

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

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
C
H
U
7.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/n8n-io/n8n/security/advisories/GHSA-58jc-rcg5-95f3, https://nvd.nist.gov/vuln/detail/CVE-2025-61914, https://github.com/n8n-io/n8n

Severity

7.3

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.3
EPSS Probability
0.00027%
EPSS Percentile
0.06881%
Introduced Version
0,1.57.0,1.54.0,0.202.0,0.1.0
Fix Available
1.114.0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading