CVE-2025-61914
Unknown Unknown - Not Provided
Stored XSS in n8n “Respond to Webhook” Node Enables JS Execution

Publication date: 2025-12-26

Last updated on: 2025-12-26

Assigner: GitHub, Inc.

Description
n8n is an open source workflow automation platform. Prior to version 1.114.0, 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. This issue has been patched in version 1.114.0. Workarounds for this issue involve restricting workflow creation and modification privileges to trusted users only, avoiding use of untrusted HTML responses in the “Respond to Webhook” node, and using an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-26
Last Modified
2025-12-26
Generated
2026-05-07
AI Q&A
2025-12-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
n8n n8n *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a stored Cross-Site Scripting (XSS) issue in the n8n workflow automation platform prior to version 1.114.0. It occurs when the “Respond to Webhook” node returns HTML content containing executable scripts. Instead of running these scripts in a sandboxed environment, they execute directly in the top-level window of the n8n editor interface. This allows a malicious user with workflow creation permissions to run arbitrary JavaScript code within the n8n editor.


How can this vulnerability impact me? :

The vulnerability can allow an attacker with workflow creation permissions to execute arbitrary JavaScript code in the context of the n8n editor interface. This can lead to unauthorized actions such as stealing sensitive information, manipulating workflows, or compromising the integrity of the automation platform. It poses a high confidentiality and integrity risk but does not affect availability.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade n8n to version 1.114.0 or later. Additionally, restrict workflow creation and modification privileges to trusted users only, avoid using untrusted HTML responses in the "Respond to Webhook" node, and consider using an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart