CVE-2026-56359

n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL

State
Published
Severity
4.8 Medium
Published
Jul 8, 2026
Updated
Oct 29, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NVulnCheck
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NVulnCheck

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
n8nn8n
  • 2.7.0 to before 2.8.0Affected
  • 2.8.0Not affected
n8nn8n
  • before 2.6.4Affected
  • 2.6.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.