Skip to content
porro

Advisories  /  npm  /  n8n  /  CVE-2026-25051

HIGH npm

n8n's Improper CSP Enforcement in Webhook Responses May Allow Stored XSS (CVE-2026-25051)

CVE-2026-25051 GHSA-825q-w924-xhgx Published 4 Feb 2026

Fixed in n8n 1.122.5 and 1.123.2.

$ npm install n8n@^1.122.5
$ npm install n8n@^1.123.2

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
n8n < 1.122.5≥ 1.123.0, < 1.123.2 1.122.51.123.2

Check a site from its project folder: npm ls n8n shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of n8n is safe from CVE-2026-25051?

1.123.2 and later. Versions affected: < 1.122.5, ≥ 1.123.0, < 1.123.2.