SA-26-368 Medium

n8n: DOM-Based XSS via Unsandboxed iframe srcdoc in HTML Preview

n8n

Severity
Medium, CVSS 5.4
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Record
CVE-2026-65597
Affects
n8n
Known exploited
Not listed in the CISA Known Exploited Vulnerabilities catalog
Published
Record first published by the source
July 22, 2026
Source last modified
October 24, 2026

Description

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.

Description quoted from the NVD record.

Sources

MORE ADVISORIES

See all