CVE-2026-56359
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.
How to fix
- n8n n8n2.6.4, 2.8.0 or later
- n8n2.8.0, 2.6.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n n8n | v < 2.6.4, 2.7.0 ≤ v < 2.8.0 | 2.6.4, 2.8.0 |
| n8nnpm | 2.7.0 ≤ v < 2.8.0, v < 2.6.4 | 2.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.