Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-56359 EUVD-2026-42257GHSA-364x-8g5j-x2prGHSA-c4mv-j7jv-9c8f

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

Published Jul 8, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
n8n n8n 2.7.0 – < 2.8.0, < 2.6.4 2.8.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n >= 2.7.0, < 2.8.0 2.8.0 GHSA-364x-8g5j-x2pr
npm n8n < 2.6.4 2.6.4 GHSA-364x-8g5j-x2pr

Advisories 1

References