Vulnerability · Published Jul 8, 2026 · Assigned by VulnCheck
CVE-2026-56359n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL
Medium 5.4
In plain English
A medium-severity cross-site scripting in n8n from n8n. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 2.8.0 | GHSA-364x-8g5j-x2pr |
| npm | n8n | 2.6.4 | GHSA-364x-8g5j-x2pr |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- GitHub Security Advisory (GHSA-364x-8g5j-x2pr) vendor-advisory
- VulnCheck Advisory: n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL third-party-advisory