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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-03-27T18:08:15.000Z
- Modified: 2026-10-29T21:15:48.392Z
- Also known as: GHSA-364x-8g5j-x2pr
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- n8n n8n: from 2.7.0 before 2.8.0; before 2.6.4 (not affected: 2.8.0; 2.6.4)
- n8n (npm): from 2.7.0 before 2.8.0; before 2.6.4

## Every score

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

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-364x-8g5j-x2pr> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/n8n-cross-site-scripting-in-credential-management-oauth2-authorization-url> (third-party-advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-56359](https://www.cve.org/CVERecord?id=CVE-2026-56359), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-364x-8g5j-x2pr](https://github.com/advisories/GHSA-364x-8g5j-x2pr), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-56359](https://nvd.nist.gov/vuln/detail/CVE-2026-56359), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-56359 · Whole record: https://cve.day/CVE-2026-56359.json · Rebuilt by cve.day 2026-11-25T22:59:27.368Z
