Skip to main content

CVE-2025-61914 — n8n's Possible Stored XSS in n8n — CVE Details

HIGH

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

Published December 26, 2025Updated December 27, 2025Source: OSV

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.

Check my package-lock.json

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
Update n8n to 1.114.0 or later
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).

PackageFixed In
n8n npm · Affected: All versions1.114.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

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

CVSS Score
7.3

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.35%
EPSS percentile: 20.7

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

GHSA-58jc-rcg5-95f3

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json