CVE Catalog

CVE-2026-56359

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

A cross-site scripting vulnerability exists in n8n before version 2.8.0 within the credential management flow. Authenticated users can inject malicious JavaScript URLs into the OAuth2 credential Authorization URL field. Attackers can craft malicious credentials and trick victims into clicking the OAuth authorization button, executing arbitrary scripts in the victim's browser with their privileges.

Risk Assessment

The risk includes potential session hijacking, data theft, or unauthorized actions performed in the victim's context. This attack could be used for privilege escalation or spreading malware within the organization.

Recommendation

Immediately upgrade n8n to version 2.8.0 or later. Additionally, restrict user permissions for managing OAuth2 credentials and implement input validation.

Other vulnerabilities in n8n

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS