What’s Vulnerable › Vulnerabilities
CVE-2026-25051: n8n Improper CSP Enforcement in Webhook Responses May Allow Stored XSS
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-04 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- n8n-io n8n: before 1.123.2 — fixed in 1.123.2
How to fix
Upgrade to a fixed version: n8n-io n8n 1.123.2. Check the vendor advisory for mitigations.
References
- https://github.com/n8n-io/n8n/commit/ced34c0f93ab4c759a56065965986094d8ef7323
- https://github.com/n8n-io/n8n/commit/e8cf4d6bb3af94dc296cbb67bc3dd20e9b508ac9
- https://github.com/n8n-io/n8n/security/advisories/GHSA-825q-w924-xhgx
Get alerted when CVE-2026-25051 or the next vulnerability affects your stack