Skip to main content

N8n CVE-2026-33749

| EUVDEUVD-2026-15956 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-25 GitHub_M GHSA-qfc3-hm4j-7q77
6.3
CVSS 4.0 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Despite a moderate CVSS v4.0 score of 6.3, this vulnerability carries significant real-world risk. The attack requires authentication and social engineering (UI interaction to click a malicious link), reflected in the CVSS attributes (PR:L, UI:A). However, the scope is High (SC:H) with both integrity and confidentiality impact (VI:L, VC:L) and critical availability impact through privilege escalation (SA:H, SI:H). The vulnerability is automatable once a user clicks a link, and the technical impact—credential exfiltration and admin privilege escalation—is severe. The CVSS vector contains multiple 'X' (unknown) values indicating incomplete CVSS 4.0 scoring, suggesting this may be a preliminary assessment. Real-world prioritization should consider that exploitation requires two conditions (authenticated attacker + social engineering of higher-privileged user), making this a credible but not trivial threat. The availability of patches across three version tracks (1.123.27, 2.13.3, 2.14.1) indicates active vendor response and suggests this was responsibly disclosed via GitHub Security Advisory GHSA-qfc3-hm4j-7q77.

Exploit ScenarioDerived

An authenticated n8n user with workflow editing privileges creates a malicious workflow that generates an HTML binary object containing JavaScript payload (e.g., code to exfiltrate stored credentials or modify admin settings). The attacker then crafts a URL pointing to the /rest/binary-data endpoint and socially engineers an n8n administrator to click it. When the administrator visits the URL, the browser renders the HTML inline with full JavaScript access to the n8n origin, allowing the attacker's code to steal the admin's session token, modify workflows, or escalate their own account to administrative privileges. No patch-level vulnerability code is required beyond the ability to save a workflow—the vulnerability is entirely in the endpoint's failure to sanitize output and enforce proper security headers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

A stored cross-site scripting (XSS) vulnerability in n8n workflow automation platform allows authenticated users to craft malicious workflows that execute arbitrary JavaScript in the browsers of higher-privileged users. Affected versions are n8n prior to 1.123.27, 2.13.3, and 2.14.1 (identified via CPE cpe:2.3:a:n8n-io:n8n). An attacker with workflow creation/modification permissions can exploit the /rest/binary-data endpoint's failure to properly sanitize HTML responses, enabling credential theft, workflow manipulation, and privilege escalation to administrative access with full same-origin context.

RemediationAI

Immediately upgrade to n8n version 1.123.27, 2.13.3, or 2.14.1 or later, depending on which branch your installation uses; consult https://github.com/n8n-io/n8n/security/advisories/GHSA-qfc3-hm4j-7q77 for release notes and upgrade procedures. Until patching is completed, implement short-term mitigations: restrict workflow creation and editing permissions to fully trusted users only, enforce network-level access controls to limit exposure of the n8n instance to untrusted users, and consider serving n8n behind a reverse proxy configured to add Content-Security-Policy: default-src 'self' and Content-Disposition: attachment headers to all /rest/binary-data responses. These workarounds significantly reduce but do not fully eliminate risk and should not replace patch deployment.

Affected VersionsENISA

n8n < 1.123.27
n8n 2.0.0-rc.0, < 2.13.3
n8n = 2.14.0

Affected Packages

npm n8n fix: 1.123.27, 2.13.3, 2.14.1
euvd n8n_2_0_0_rc_0 fix: 2.13.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from improper output encoding and missing security headers in the binary data serving mechanism of n8n (CWE-79: Improper Neutralization of Input During Web Page Generation). The /rest/binary-data endpoint serves user-controlled HTML content without the Content-Disposition header (which would force download) and without Content-Security-Policy headers (which would restrict JavaScript execution). This allows HTML payloads embedded in workflow binary objects to render inline in the user's authenticated browser session with full JavaScript access to the n8n origin, enabling DOM-based and reflected XSS attacks that persist through workflow storage.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 18:39 nvd
MEDIUM 6.3

DescriptionGitHub Advisory

n8n is an open source workflow automation platform. Prior to versions 1.123.27, 2.13.3, and 2.14.1, an authenticated user with permission to create or modify workflows could craft a workflow that produces an HTML binary data object without a filename. The /rest/binary-data endpoint served such responses inline on the n8n origin without Content-Disposition or Content-Security-Policy headers, allowing the HTML to render in the browser with full same-origin JavaScript access. By sending the resulting URL to a higher-privileged user, an attacker could execute JavaScript in the victim's authenticated session, enabling exfiltration of workflows and credentials, modification of workflows, or privilege escalation to admin. The issue has been fixed in n8n versions 1.123.27, 2.13.3, and 2.14.1. Users should upgrade to one of these versions or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only, and/or restrict network access to the n8n instance to prevent untrusted users from accessing binary data URLs. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Executive ViewAI

Why It Matters

Organizations using n8n should be aware of moderate risk from CVE-2026-33749, a cross-site scripting vulnerability rated CVSS 6.3. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Related Vulnerabilities in n8n Workflow Automation Vulnerabilities

View all 2

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy