CVE-2026-56359

Medium

Description

n8n before 2.8.0 contains a cross-site scripting vulnerability in the credential management flow where authenticated users can inject malicious JavaScript URLs into OAuth2 credential Authorization URL fields. Attackers can craft malicious credentials and trick victims into clicking the OAuth authorization button, executing arbitrary scripts in their browser session with the victim's privileges.

SeverityMedium
CVSS5.4
Exploit probability—
ProductN8n
PublishedJul 8, 2026
First seenJul 8, 2026

How to fix

Update
  • n8n n8n2.6.4, 2.8.0 or later
  • n8n2.8.0, 2.6.4 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 2.6.4, 2.7.0 ≤ v < 2.8.02.6.4, 2.8.0
n8nnpm2.7.0 ≤ v < 2.8.0, v < 2.6.42.8.0, 2.6.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.