Description
n8n before 1.123.24, 2.10.4, and 2.12.0 (across its 1.x and 2.x branches) contains cross-site scripting and open redirect vulnerabilities in the Form Node due to unsanitized HTML description fields and overly permissive iframe sandbox policies. Authenticated users with workflow creation permissions can inject malicious scripts or redirect parameters to perform stored XSS attacks or phishing redirects against end users.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version before 1.123.24
1.123.24 (semver)
2.0.0-rc.0 (semver) before 2.10.4
2.10.4 (semver)
2.11.0 (semver) before 2.12.0
2.12.0 (semver)
Any version before 2.10.4
2.10.4 (semver)
Any version before 1.123.24
1.123.24 (semver)
Credits
tCu0n9
References
github.com/...io/n8n/security/advisories/GHSA-w673-8fjw-457c (GitHub Security Advisory (GHSA-w673-8fjw-457c))
www.vulncheck.com/...cripting-and-open-redirect-in-form-node (VulnCheck Advisory: n8n - Cross-Site Scripting and Open Redirect in Form Node)