CyberRota Analysis
AI-GeneratedThe vulnerability affects n8n versions prior to 1.123.69, 2.33.4, and 2.34.1, specifically in the Form node's completion page, which improperly handles stored cross-site scripting (XSS) due to inadequate Content-Security-Policy enforcement. This flaw allows authenticated users to inject unsanitized HTML and scripts that execute in the context of any visitor's session who submits the public form, potentially leading to session hijacking or other malicious actions. Organizations using affected versions of n8n should prioritize patching this vulnerability to mitigate the risk of XSS attacks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
n8n before 1.123.69, 2.33.4, and 2.34.1 contains a stored cross-site scripting vulnerability in the Form node's completion page. The completion page applied its sandboxing Content-Security-Policy only when respondWith was not set to 'redirect', but responseText was always rendered as raw HTML. An authenticated member could set respondWith to 'redirect' via an expression while keeping responseText populated, causing the completion page to serve unsanitized HTML and script from the n8n origin. Any visitor who submitted the resulting public form would have that script execute same-origin with their session.
Related CVEs
Other vulnerabilities affecting the same vendor(s)