CVE-2025-61914 — n8n's Possible Stored XSS in n8n — CVE Details
n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.35%). Schedule for your next planned update.
Does your project use an affected n8n version?
Paste your package-lock.json to check it for CVE-2025-61914 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published December 26, 2025 (335 days ago).
- Last revised December 27, 2025 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@1.114.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| n8n npm · Affected: All versions | 1.114.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2025-61914?
- n8n's Possible Stored XSS in "Respond to Webhook" Node May Execute Outside iframe Sandbox. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
- How do I check if my project is affected by CVE-2025-61914?
- CVE-2025-61914 affects n8n. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61914 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 20.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-25115CRITICAL
n8n has a Python sandbox escape
- CVE-2026-27497CRITICAL
n8n has Potential Remote Code Execution via Merge Node
- CVE-2026-65591HIGH
n8n: Legacy Expression Evaluator Sanitizer Bypass Leads to Authenticated Code Execution
- CVE-2026-56360MEDIUM
n8n has Webhook Forgery on Zendesk Trigger Node
- CVE-2026-56356MEDIUM
n8n has XSS in Chat Trigger Node through Custom CSS
- CVE-2026-65589MEDIUM
n8n: Custom Header Credential Values Leaked in Plaintext into LLM Node Execution Data
- CVE-2026-54303MEDIUM
n8n: Reflected XSS via Facebook, WhatsApp, and Microsoft Teams Trigger Webhook Verification Endpoints
- CVE-2026-86084MEDIUM
n8n: Disabled OIDC SSO Endpoints Remain Active and Issue Valid Sessions