XSS in N8n
CVE-2026-56359
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 15.5th percentile
- Published
- 2026-07-08
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 15.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- N8n — versions 0, 2.8.0, 2.6.4
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-364x-8g5j-x2pr) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL (Third Party Advisory, third-party-advisory)