What’s Vulnerable › Vulnerabilities

CVE-2026-56359: n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL

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.

Affected products

How to fix

Upgrade to a fixed version: n8n-io n8n 2.6.4, 2.8.0; n8n-io n8n 2.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56359 or the next vulnerability affects your stack