CVE-2026-56359 Details
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.
A cross-site scripting vulnerability has been identified in n8n versions prior to 2.8.0 and 2.6.4. This issue allows authenticated users to inject malicious JavaScript URLs into the Authorization URL fields of OAuth2 credentials. Attackers can create harmful credentials and persuade victims to click the OAuth authorization button, which would execute the injected scripts in the context of the victim's browser session.
Users should upgrade to n8n version 2.8.0 or 2.6.4 and later. If an immediate upgrade is not possible, consider limiting credential creation and sharing permissions to trusted users and restricting access to the n8n instance to trusted users only.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-364x-8g5j-x2pr | [email protected] | MitigationVendor Advisory |
| https://www.vulncheck.com/advisories/n8n-cross-site-scripting-in-credential-management-oauth2-authorization-url | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | < 2.6.4 >= 2.7.0, < 2.8.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jul 8, 2026 | New CVE Received | [email protected] |