Vulnerabilities · 2026 · N8n
CVE-2026-25051
N8n vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether N8n runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-825q-w924-xhgx · Patch
- github.com/n8n-io/n8n/commit/ced34c0f93ab4c759a56065965986094d8ef7323 · Patch
- github.com/n8n-io/n8n/commit/e8cf4d6bb3af94dc296cbb67bc3dd20e9b508ac9 · Patch
- nvd.nist.gov/vuln/detail/CVE-2026-25051
- github.com/advisories/GHSA-825q-w924-xhgx
- nvd.nist.gov/vuln/detail/CVE-2026-25051
- cve.org/CVERecord?id=CVE-2026-25051
More vulnerabilities in N8n products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.