Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
High

Stored XSS in n8n markdown rendering

IdentifiersCVE-2026-25054CWE-79· Improper Neutralization of Input…

CVE-2026-25054 is a stored cross-site scripting vulnerability in n8n, an open source workflow automation platform. Prior to versions 1.123.9 and 2.2.1, n8n's markdown rendering component in the web interface did not safely handle attacker-controlled markdown content in areas such as workflow sticky notes and other markdown-supported UI elements. An authenticated user with permission to create or modify workflows could store malicious markdown payloads in a workflow so that JavaScript executes in the browser of another user when that user views or interacts with the crafted workflow. Because the script runs in the context of the n8n application origin, it executes with same-origin privileges and can access application session context and perform actions as the victim user.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an authenticated attacker with workflow editing capability to execute arbitrary JavaScript in another user's browser within the n8n origin. This can enable session hijacking, theft of session tokens or other browser-accessible sensitive data, unauthorized actions in the victim's account, and potential account takeover. Impact depends on the privileges of the victim user who views or interacts with the malicious workflow.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict workflow creation and editing permissions to fully trusted users only. Review existing workflows, especially sticky notes and other markdown-capable fields, for malicious or unexpected markdown content. Advise users not to open or interact with workflows from untrusted sources. These measures reduce exposure but do not fully eliminate the vulnerability until the product is upgraded.

Remediation

Patch, then assume compromise.

Upgrade n8n to a fixed release. The issue is patched in n8n 1.123.9 and 2.2.1. Systems running versions earlier than 1.123.9 on the 1.x branch or earlier than 2.2.1 on the 2.x branch should be updated to the corresponding fixed or later version.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
N8nN8napplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.