CVE-2026-25054
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedn8n 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA stored Cross-Site Scripting (XSS) vulnerability exists in n8n's markdown rendering component used for workflow sticky notes and other markdown-supported areas. Authenticated users with workflow edit permissions can inject malicious scripts that execute in the browsers of other users who view the crafted workflow, enabling session hijacking and account takeover.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.123.9>= 2.0.0, < 2.2.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed n8n versionRun the command 'n8n --version' from the command line, or access the n8n UI and navigate to Settings > About, or check the package.json file in the n8n installation directoryAffected if The version is below 1.123.9, or is 2.0.0 through 2.2.0 (inclusive)
-
Verify markdown feature usageReview existing workflows in the n8n UI and check if any workflows contain sticky notes with markdown content, or check database tables for workflow sticky note entries containing markdown syntaxAffected if Workflows exist with sticky notes or markdown-supported content that could contain injected scripts
-
Identify workflow edit permission scopeReview user roles and permissions in n8n under Settings > Users, or query the database for users with workflow create or edit permissionsAffected if Multiple users or untrusted users have workflow edit or create permissions, increasing the likelihood of malicious injection
-
Inspect stored sticky note contentQuery the workflow database table for sticky note fields and examine the stored HTML/markdown content for suspicious script tags, iframe elements, or event handlers (onclick, onload, etc.)Affected if Any sticky note entries contain unescaped HTML script tags or JavaScript event handlers
A user is affected if their n8n installation version is less than 1.123.9 or between 2.0.0 and 2.2.0 inclusive, and workflows with sticky notes are in use by users with edit permissions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.123.92.2.1
Upgrade n8n to version 1.123.9 or 2.2.1 or later. If immediate upgrade is not feasible, limit workflow creation/modification permissions to trusted users only.
Upgrade to n8n version 1.123.9 (for 1.x users) or version 2.2.1 (for 2.x users) or later
- 1. Backup your n8n installation and database before upgrading
- 2. Identify your current n8n version (check via UI or CLI: n8n --version)
- 3. If running version 1.x (< 1.123.9): Upgrade to version 1.123.9 or later (e.g., npm install [email protected] or docker pull n8nio/n8n:1.123.9)
- 4. If running version 2.x (>= 2.0.0 and < 2.2.1): Upgrade to version 2.2.1 or later (e.g., npm install [email protected] or docker pull n8nio/n8n:2.2.1)
- 5. Restart the n8n service after upgrading
- 6. Verify the new version is running and test workflow functionality
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-25054 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-25054 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data