Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-364x-8g5j-x2pr

GHSA-364x-8g5j-x2pr: n8n has XSS in its Credential Management Flow

March 27, 2026

An authenticated user with permission to create and share credentials could craft a malicious OAuth2 credential containing a JavaScript URL in the Authorization URL field. If a victim opened the credential and interacted with the OAuth authorization button, the injected script would execute in their browser session.

References

  • github.com/advisories/GHSA-364x-8g5j-x2pr
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-364x-8g5j-x2pr

Code Behaviors & Features

Detect and mitigate GHSA-364x-8g5j-x2pr with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.4, all versions starting from 2.7.0 before 2.8.0

Fixed versions

  • 2.8.0
  • 2.6.4

Solution

Upgrade to versions 2.6.4, 2.8.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/n8n/GHSA-364x-8g5j-x2pr.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:21 +0000.