CVE-2026-65597

published 22 Jul 2026 · updated 29 Oct 2026

n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.123.64, 2.29.8 and 2.30.1.

n8n before 1.123.64, 2.x before 2.29.8, and before 2.30.1 contains a DOM-based cross-site scripting vulnerability in the HTML preview, which renders execution output into an iframe srcdoc without the sandbox attribute. A sanitizer bypass allows injected script to execute same-origin as the editor. When a victim opens the preview, the script can call authenticated APIs using the victim's session. An account with global:member privileges can exploit the issue.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
n8n-io<1.123.64, >=2.0.0-rc.0 <2.29.8, >=2.30.0 <2.30.11.123.64, 2.29.8, 2.30.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65597 severity on Zeptric[![CVE-2026-65597](https://zeptric.io/badge/cve/CVE-2026-65597.svg)](https://zeptric.io/cve/CVE-2026-65597)