Cross-site scripting in n8n - #VU140992

 

Cross-site scripting in n8n - #VU140992

Published: August 5, 2026


Vulnerability identifier: #VU140992
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.

The vulnerability exists due to improper neutralization of input during web page generation in the Form node completion page when rendering raw HTML with `respondWith` set to `redirect`. A remote user can configure a form response to include crafted HTML and script to execute arbitrary script in a victim's browser.

User interaction is required: a visitor must submit the public form for the script to execute same-origin with their session.


Affected software

n8n

Remediation

Install security update from vendor's website.

n8n - addressed in versions 1.123.69, 2.33.4, 2.34.1

External References

Related Security Bulletins