Skip to main content
← All vulnerabilities
CVE-2026-65597GHSA-P3RG-HRF9-W9GJ

n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.123.64, 2.30.1, 2.29.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.123.64

  • n8n-io n8n

    From 2.30.0 · fixed in 2.30.1

  • n8n-io n8n

    From 2.0.0-rc.0 · fixed in 2.29.8

  • n8nnpm

    fixed in 1.123.64

  • n8nnpm

    From 2.30.0 · fixed in 2.30.1

  • n8nnpm

    From 2.0.0-rc.0 · fixed in 2.29.8

References 2

GitHub · n8n-io/n8n

vulncheck.com