Cross-site scripting in n8n - #VU127214
Published: April 23, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script in a victim's browser session.
The vulnerability exists due to improper neutralization of script-related input in the credential management flow when handling a crafted OAuth2 credential authorization URL. A remote user can create and share a malicious credential containing a javascript: URL to execute arbitrary script in a victim's browser session.
User interaction is required when the victim opens the credential and clicks the OAuth authorization button.