GHSA-vhcw-f978-xjjg

Suggest an improvement
Source
https://github.com/advisories/GHSA-vhcw-f978-xjjg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhcw-f978-xjjg/GHSA-vhcw-f978-xjjg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vhcw-f978-xjjg
Withdrawn
2026-07-22T17:55:01Z
Published
2026-07-22T12:32:18Z
Modified
2026-07-22T18:01:07Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: DOM-Based XSS via Unsandboxed iframe srcdoc in HTML Preview
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-p3rg-hrf9-w9gj. This link is maintained to preserve external references.

Original 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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-22T17:55:01Z",
    "nvd_published_at":  "2026-07-22T12:18:19Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

last_known_affected_version_range
"< 1.123.64"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhcw-f978-xjjg/GHSA-vhcw-f978-xjjg.json"