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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 84.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmn8n2.8.0GHSA-364x-8g5j-x2pr
npmn8n2.6.4GHSA-364x-8g5j-x2pr

Affected products (as reported)

VendorProductVersions
n8n n8n 2.7.0 – before 2.8.0
n8n n8n 0 – before 2.6.4

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References