Technical impact
n8n before versions 1.123.85, 2.x before 2.43.5, and 2.44.x before 2.44.1 suffers a stored cross‑site scripting flaw because certain webhook response paths omit the sandbox Content‑Security‑Policy header. An authenticated user who can create and activate workflows can embed malicious HTML or scripts in a webhook response. When a user opens that webhook URL, the injected code runs under the victim’s n8n session, allowing an attacker to read cookies, steal credentials or perform actions on behalf of the user within the same origin.
Affected Systems
The affected product is n8n by n8n‑io. Vulnerable releases include all n8n versions before 1.123.85, all 2.x releases prior to 2.43.5, and all 2.44.x releases prior to 2.44.1.
Risk and Exploitability
The vulnerability is rated CVSS 8.4, indicating high severity, and it is not listed in the CISA KEV catalog. Exploitation requires the attacker to be an authenticated member with workflow creation rights, after which they can embed attacker‑controlled content into a webhook response. Any user who later accesses that webhook URL will have the malicious scripts executed in their browser with the user’s n8n session, creating a high risk of credential theft or session hijacking. Because the flaw relies on missing sandbox policy, there is no immediate remote code execution, but the impact on confidentiality and integrity is significant for all users of the affected installations.