Skip to content
OpenAdvisories
High · 8.5 CVE-2026-25051 EUVD-2026-5420GHSA-825q-w924-xhgx

n8n Improper CSP Enforcement in Webhook Responses May Allow Stored XSS

Published Feb 4, 2026 · Updated Feb 5, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
n8n-io n8n < 1.123.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n >= 1.123.0, < 1.123.2 1.123.2 GHSA-825q-w924-xhgx
npm n8n < 1.122.5 1.122.5 GHSA-825q-w924-xhgx

Advisories 2

References