Skip to content

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

MediumCVSS 4.8 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
n8n < 2.6.4; >= 2.7.0, < 2.8.0 2.6.4, 2.8.0 Fixed
npm n8n < 2.6.4; >= 2.7.0, < 2.8.0 2.6.4, 2.8.0 Fixed
npm n8n(npm) < 2.6.4; >= 2.7.0, < 2.8.0 2.6.4, 2.8.0 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n >= 2.7.0, < 2.8.0 2.8.0
npm n8n < 2.6.4 2.6.4
n8n < 2.6.4 2.6.4
n8n >= 2.7.0, < 2.8.0 2.8.0
npm n8n(npm) >= 2.7.0, < 2.8.0 2.8.0
npm n8n(npm) < 2.6.4 2.6.4

References