n8n is Vulnerable to Stored Cross-Site Scripting via Markdown Rendering in Workflow UI
Description
n8n is an open source workflow automation platform. Prior to versions 1.123.9 and 2.2.1, a Cross-Site Scripting (XSS) vulnerability existed in a markdown rendering component used in n8n's interface, including workflow sticky notes and other areas that support markdown content. An authenticated user with permission to create or modify workflows could abuse this to execute scripts with same-origin privileges when other users interact with a maliciously crafted workflow. This could lead to session hijacking and account takeover. This issue has been patched in versions 1.123.9 and 2.2.1.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | >= 2.0.0, < 2.2.1 | 2.2.1 |
n8nnpm | < 1.123.9 | 1.123.9 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-qpq4-pw7f-pp8wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25054ghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-qpq4-pw7f-pp8wghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.