Cross-site scripting in n8n - #VU127208
Published: April 23, 2026
n8n
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in the Form Trigger node's CSS sanitization when processing user-supplied form styling. A remote user can store a crafted XSS payload to execute arbitrary script in a victim's browser.
User interaction is required when a visitor opens the published form. The injected script executes persistently for every visitor of the published form and can hijack form submissions or present phishing content.