Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33749

CVE-2026-33749: n8n Workflow Automation XSS Vulnerability

CVE-2026-33749 is a cross-site scripting flaw in n8n workflow automation that allows authenticated attackers to execute malicious JavaScript in victim sessions. This post covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33749 Overview

CVE-2026-33749 is a Cross-Site Scripting (XSS) vulnerability in n8n, an open source workflow automation platform. The vulnerability exists in how the /rest/binary-data endpoint handles HTML binary data objects that lack a filename. When an authenticated user with workflow creation or modification permissions crafts a malicious workflow producing such an object, the endpoint serves the response inline without proper Content-Disposition or Content-Security-Policy headers. This allows arbitrary HTML to render in the victim's browser with full same-origin JavaScript access.

Critical Impact

Attackers can execute JavaScript in authenticated user sessions, enabling exfiltration of workflows and credentials, modification of workflows, or privilege escalation to admin.

Affected Products

  • n8n versions prior to 1.123.27
  • n8n versions prior to 2.13.3
  • n8n versions prior to 2.14.1

Discovery Timeline

  • 2026-03-25 - CVE CVE-2026-33749 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33749

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw stems from inadequate security controls in the binary data handling mechanism of the n8n platform.

The vulnerability requires an authenticated user with workflow creation or editing privileges to craft a specially designed workflow. This workflow must produce an HTML binary data object that intentionally omits the filename parameter. When such a binary object is requested through the /rest/binary-data endpoint, the server fails to include protective HTTP headers that would prevent inline rendering.

The attack chain involves social engineering, as the attacker must convince a higher-privileged user (such as an administrator) to visit the malicious URL. Once the victim accesses the crafted URL in their authenticated session, the embedded JavaScript executes with full same-origin privileges, granting the attacker access to session tokens, sensitive workflow data, stored credentials, and administrative functions.

Root Cause

The root cause of this vulnerability lies in the insufficient output encoding and missing security headers in the /rest/binary-data endpoint. Specifically, when binary data is returned without a filename, the server fails to set the Content-Disposition header to force a download and omits the Content-Security-Policy header that would restrict script execution. This combination allows user-controlled HTML content to execute JavaScript within the n8n application's security context.

Attack Vector

The attack leverages the network-accessible /rest/binary-data endpoint and requires low privileges (authenticated user with workflow permissions) combined with user interaction from a victim. An attacker creates a malicious workflow that generates HTML content with embedded JavaScript as binary data, then shares the resulting URL with a privileged user. When accessed, the browser renders the HTML inline on the n8n origin, executing the malicious script with the victim's session context.

The vulnerability mechanism involves crafting a workflow that outputs HTML binary data without specifying a filename. When the binary data URL is accessed, the server responds with content-type headers indicating HTML but without security headers to prevent inline execution. The browser then renders the content as a same-origin page, allowing JavaScript to access cookies, make authenticated API calls, and manipulate the DOM within the n8n application context. For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-33749

Indicators of Compromise

  • Unusual workflow modifications or creations containing binary data nodes outputting HTML content without filenames
  • Requests to /rest/binary-data endpoints from unexpected IP addresses or user agents
  • Workflow sharing or URL distribution patterns targeting administrative users
  • Session activity anomalies following access to binary data URLs

Detection Strategies

  • Monitor HTTP responses from /rest/binary-data endpoints for missing Content-Disposition and Content-Security-Policy headers
  • Implement logging and alerting for workflow creation or modification activities, particularly those involving binary data nodes
  • Review audit logs for workflow access patterns that may indicate credential harvesting or privilege escalation attempts
  • Deploy web application firewalls (WAF) with rules to detect XSS payloads in binary data requests

Monitoring Recommendations

  • Enable comprehensive logging for all workflow creation, modification, and execution events
  • Monitor for unusual API calls made by high-privilege accounts following binary data URL access
  • Track and alert on bulk credential access or workflow export operations
  • Implement session monitoring to detect anomalous behavior patterns following potential XSS exploitation

How to Mitigate CVE-2026-33749

Immediate Actions Required

  • Upgrade n8n to version 1.123.27, 2.13.3, or 2.14.1 or later immediately
  • Review workflow creation and editing permissions to ensure only fully trusted users have these capabilities
  • Audit existing workflows for suspicious binary data generation patterns
  • Restrict network access to the n8n instance to prevent untrusted users from accessing binary data URLs

Patch Information

The n8n development team has released security patches in versions 1.123.27, 2.13.3, and 2.14.1. Users should upgrade to one of these versions or later to fully remediate the vulnerability. The patches address the missing security headers on the /rest/binary-data endpoint, ensuring proper Content-Disposition and Content-Security-Policy headers are set to prevent inline HTML rendering. For additional details, see the GitHub Security Advisory.

Workarounds

  • Limit workflow creation and editing permissions to fully trusted users only until patching is complete
  • Restrict network access to the n8n instance using firewall rules or network segmentation
  • Implement reverse proxy rules to add security headers to /rest/binary-data responses as a temporary measure
  • Consider temporarily disabling workflow sharing features if feasible for your environment
bash
# Example nginx configuration to add security headers as a temporary workaround
location /rest/binary-data {
    add_header Content-Security-Policy "default-src 'none'; script-src 'none'" always;
    add_header Content-Disposition "attachment" always;
    proxy_pass http://n8n-backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechN8n

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27578: n8n Workflow Automation XSS Vulnerability

  • CVE-2026-25054: N8n Workflow Automation XSS Vulnerability

  • CVE-2026-25051: N8n Workflow Automation XSS Vulnerability

  • CVE-2025-46343: N8n Workflow Automation XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English