Advisories / npm / n8n / CVE-2026-25054
n8n Has Stored Cross-site Scripting via Markdown Rendering in Workflow UI (CVE-2026-25054)
CVE-2026-25054 GHSA-qpq4-pw7f-pp8w Published 4 Feb 2026
Fixed in n8n 1.123.9 and 2.2.1.
$ npm install n8n@^1.123.9 $ npm install n8n@^2.2.1
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.123.9≥ 2.0.0, < 2.2.1 | 1.123.92.2.1 |
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
- Advisory published, with a fix
Questions
Which version of n8n is safe from CVE-2026-25054?
2.2.1 and later. Versions affected: < 1.123.9, ≥ 2.0.0, < 2.2.1.