Cross-site scripting in n8n - #VU127214

 

Cross-site scripting in n8n - #VU127214

Published: April 23, 2026


Vulnerability identifier: #VU127214
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: n8n
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources