SCA: security update for n8n (GHSA-p3rg-hrf9-w9gj)

high Tenable Self-Hosted Container Security Plugin ID 445127

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-65597)

Solution

Update the n8n library and its related packages to version 1.123.64 or later.

See Also

https://github.com/advisories/GHSA-p3rg-hrf9-w9gj

Plugin Details

Severity: High

ID: 445127

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/22/2026

Updated: 7/22/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-65597

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.2

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/22/2026

Vulnerability Publication Date: 7/22/2026

Reference Information

CVE: CVE-2026-65597

cwe: CWE-79