Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25054: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in n8n-io n8n

0
High
VulnerabilityCVE-2026-25054cvecve-2026-25054cwe-80cwe-79
Published: Wed Feb 04 2026 (02/04/2026, 16:47:29 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

CVE-2026-25054 is a high-severity Cross-Site Scripting (XSS) vulnerability in the n8n open source workflow automation platform, affecting versions prior to 1. 123. 9 and 2. 2. 1. The flaw exists in a markdown rendering component used in the user interface, including workflow sticky notes and other markdown-supported areas. An authenticated user with workflow creation or modification permissions can inject malicious scripts that execute with same-origin privileges when other users view the crafted workflows. This can lead to session hijacking and account takeover. The vulnerability requires authentication and some user interaction but does not require elevated privileges beyond workflow modification rights. No known exploits are currently reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/12/2026, 07:41:19 UTC

Technical Analysis

The vulnerability CVE-2026-25054 is a Cross-Site Scripting (XSS) flaw classified under CWE-80 and CWE-79, found in the n8n workflow automation platform's markdown rendering component. This component is responsible for rendering user-generated markdown content in the interface, including workflow sticky notes and other markdown-enabled fields. Prior to versions 1.123.9 and 2.2.1, the platform failed to properly neutralize script-related HTML tags, allowing an authenticated user with permissions to create or modify workflows to inject malicious JavaScript code. When other users interact with or view these maliciously crafted workflows, the injected scripts execute with the same-origin privileges as the n8n web application. This can lead to session hijacking, enabling attackers to steal session cookies or tokens, potentially resulting in account takeover and unauthorized access to sensitive workflow data or administrative functions. The vulnerability does not require administrative privileges but does require authenticated access with workflow modification rights, which may be granted to many users in collaborative environments. The CVSS 4.0 score is 8.5 (high), reflecting the network attack vector, low attack complexity, no required privileges beyond workflow modification, and partial user interaction. Although no exploits are currently known in the wild, the vulnerability poses a significant risk due to the potential for lateral movement and privilege escalation within affected organizations. The issue was publicly disclosed and patched promptly in versions 1.123.9 and 2.2.1, and users are strongly advised to upgrade to these or later versions.

Potential Impact

For European organizations, this vulnerability poses a significant risk to the confidentiality and integrity of their automation workflows and potentially broader IT environments. n8n is increasingly adopted across various sectors including finance, healthcare, and manufacturing in Europe for automating critical business processes. Exploitation could allow malicious insiders or compromised accounts to execute arbitrary scripts in other users' browsers, leading to session hijacking, unauthorized data access, and potential lateral movement within the network. This could disrupt automated workflows, leak sensitive data, or facilitate further attacks such as privilege escalation or ransomware deployment. The impact is heightened in environments where multiple users collaborate on workflows and where n8n is integrated with other enterprise systems. Given the high CVSS score and the ease of exploitation by authenticated users, organizations face a tangible risk of account compromise and operational disruption if they do not apply patches promptly.

Mitigation Recommendations

European organizations should immediately upgrade all n8n instances to version 1.123.9 or 2.2.1 or later to remediate this vulnerability. Beyond patching, organizations should enforce strict access controls limiting workflow creation and modification permissions to trusted users only, minimizing the attack surface. Implement multi-factor authentication (MFA) to reduce the risk of credential compromise. Regularly audit workflows for suspicious or unexpected markdown content, especially in shared environments. Employ Content Security Policy (CSP) headers to restrict script execution origins and reduce the impact of potential XSS attacks. Monitor logs for unusual user activity related to workflow modifications. Educate users about the risks of interacting with untrusted workflows and encourage reporting of suspicious behavior. Finally, consider isolating n8n instances within segmented network zones to limit lateral movement in case of compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-28T14:50:47.888Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69837ea2f9fa50a62f9d191a

Added to database: 2/4/2026, 5:15:14 PM

Last enriched: 2/12/2026, 7:41:19 AM

Last updated: 3/24/2026, 7:04:26 AM

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses