n8n Improper CSP Enforcement in Webhook Responses May Allow Stored XSS
n8n is an open source workflow automation platform. Prior to version 1.123.2, a Cross-Site Scripting (XSS) vulnerability has been identified in the handling of webhook responses and related HTTP endpoints. Under certain conditions, the Content Security Policy (CSP) sandbox protection intended to isolate HTML responses may not be applied correctly. An authenticated user with permission to create or modify workflows could abuse this to execute malicious scripts with same-origin privileges when other users interact with the crafted workflow. This could lead to session hijacking and account takeover. This issue has been patched in version 1.123.2.
References
-
https://github.com/n8n-io/n8n/security/advisories/GHSA-825q-w924-xhgx x_refsource_CONFIRM
Affected products
- ==< 1.123.2
Matching in nixpkgs
pkgs.n8n
Free and source-available fair-code licensed workflow automation tool
pkgs.n8n-nodes-carbonejs
n8n community node for rendering Word templates using Carbone.js
-
nixos-unstable -
- nixpkgs-unstable 1.2.0
Package maintainers
-
@gepbird Gutyina Gergő <gutyina.gergo.2@gmail.com>
-
@sweenu sweenu <contact@sweenu.xyz>