Advisories / npm / n8n / CVE-2025-52478
Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source (CVE-2025-52478)
CVE-2025-52478 GHSA-hfmv-hhh3-43f2 Published 19 Aug 2025
Fixed in n8n 1.98.2.
$ npm install n8n@^1.98.2
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| n8n | ≥ 1.77.0, < 1.98.2 | 1.98.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
- Advisory published, with a fix
Questions
Which version of n8n is safe from CVE-2025-52478?
1.98.2 and later. Versions affected: ≥ 1.77.0, < 1.98.2.