Home

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.

PUBLISHED Reserved 2026-06-20 | Published 2026-07-08 | Updated 2026-07-09 | Assigner VulnCheck




MEDIUM: 4.8CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
MEDIUM: 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Problem types

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

Product status

Default status
unaffected

Any version before 2.8.0
affected

2.8.0 (semver)
unaffected

Default status
unaffected

Any version before 2.6.4
affected

2.6.4 (semver)
unaffected

Credits

yohannslm reporter

References

github.com/...io/n8n/security/advisories/GHSA-364x-8g5j-x2pr (GitHub Security Advisory (GHSA-364x-8g5j-x2pr)) vendor-advisory

www.vulncheck.com/...ial-management-oauth2-authorization-url (VulnCheck Advisory: n8n - Cross-Site Scripting in Credential Management OAuth2 Authorization URL) third-party-advisory

cve.org (CVE-2026-56359)

nvd.nist.gov (CVE-2026-56359)

Download JSON