High severityNVD Advisory· Published Jul 22, 2026· Updated Jul 22, 2026
n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe
CVE-2026-65597
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.123.64 | 1.123.64 |
n8nnpm | >= 2.30.0, < 2.30.1 | 2.30.1 |
n8nnpm | >= 2.0.0-rc.0, < 2.29.8 | 2.29.8 |
Affected products
1Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-p3rg-hrf9-w9gjghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gjghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-65597ghsaADVISORY
- www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframeghsathird-party-advisoryWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
- github.com/n8n-io/n8n/releases/tag/[email protected]ghsaWEB
News mentions
0No linked articles in our index yet.