CVE-2026-25051
n8n's Improper CSP Enforcement in Webhook Responses May Allow Stored XSS
Summary
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@1.123.2
npm install n8n@1.122.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-825q-w924-xhgxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25051ADVISORY
- https://github.com/n8n-io/n8n/commit/ced34c0f93ab4c759a56065965986094d8ef7323WEB
- https://github.com/n8n-io/n8n/commit/e8cf4d6bb3af94dc296cbb67bc3dd20e9b508ac9WEB
- https://github.com/n8n-io/n8nPACKAGE
Frequently Asked Questions
- What is CVE-2026-25051?
- n8n's Improper CSP Enforcement in Webhook Responses May Allow Stored XSS This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-25051?
- CVE-2026-25051 affects n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25051 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-25049CRITICAL
n8n Has Expression Escape Vulnerability Leading to RCE
- CVE-2026-27493CRITICAL
n8n has Unauthenticated Expression Evaluation via Form Node
- CVE-2026-42231CRITICAL
n8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCE
- CVE-2026-72774HIGH
n8n: Credential Authorization Bypass via Expression in HTTP Request Node `genericAuthType`
- CVE-2026-54309HIGH
n8n: MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
- CVE-2026-42226HIGH
n8n's Credential Authorization Bypass in dynamic-node-parameters Allows Foreign API Key Replay
- CVE-2026-72750MEDIUM
n8n: Snowflake Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
- CVE-2026-33749MEDIUM
n8n Vulnerable to XSS via Binary Data Inline HTML Rendering
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies