Cross-site scripting in n8n - #VU127214

 

Cross-site scripting in n8n - #VU127214

Published: April 23, 2026


Vulnerability identifier: #VU127214
CSH Severity: Low
CVSS v4: 5.1 [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]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

n8n

Remediation

Install security update from vendor's website.

n8n - addressed in versions 2.6.4, 2.8.0

External References

Related Security Bulletins