The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-33193

CVE-2026-33193: Docmost Stored XSS Vulnerability

CVE-2026-33193 is a stored XSS vulnerability in Docmost wiki software caused by improper MIME type handling. Attackers can inject malicious scripts to compromise users. This article covers technical details, affected versions, and patches.

Published: April 17, 2026

CVE-2026-33193 Overview

Docmost is open-source collaborative wiki and documentation software. Versions prior to 0.70.0 are vulnerable to a stored cross-site scripting (XSS) attack due to improper handling of MIME type spoofing (GHSL-2026-052). An attacker could exploit this flaw to inject malicious scripts, potentially compromising the security of users and data. Version 0.70.0 contains a patch.

Critical Impact

Stored XSS vulnerability allows attackers to inject persistent malicious scripts that execute in the context of other users' sessions, potentially leading to session hijacking, credential theft, and unauthorized actions within the Docmost collaborative platform.

Affected Products

  • Docmost versions prior to 0.70.0
  • Docmost collaborative wiki and documentation software (all vulnerable versions)

Discovery Timeline

  • 2026-04-14 - CVE CVE-2026-33193 published to NVD
  • 2026-04-14 - Last updated in NVD database

Technical Details for CVE-2026-33193

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The stored XSS variant present in Docmost is particularly dangerous because malicious payloads persist in the application database and execute whenever other users access the affected content.

The vulnerability stems from improper handling of MIME type spoofing, which allows an attacker to bypass content validation mechanisms. When uploading or submitting content to the Docmost platform, the application fails to properly validate the actual content type against the declared MIME type, enabling attackers to inject script content disguised as benign file types.

In a collaborative wiki environment like Docmost, this vulnerability is especially concerning as multiple users routinely access shared documentation, maximizing the potential blast radius of a successful attack.

Root Cause

The root cause of this vulnerability lies in the application's reliance on client-supplied MIME type headers without performing adequate server-side content inspection. When processing uploaded content or user-submitted data, Docmost trusts the MIME type declaration provided by the client rather than inspecting the actual content to determine its true nature.

This trust relationship allows attackers to craft malicious payloads with spoofed MIME types that bypass security filters designed to block executable script content. The injected scripts are then stored in the application's data store and served to other users without proper sanitization or encoding.

Attack Vector

The attack is network-based and requires low privileges with user interaction. An authenticated attacker can exploit this vulnerability by uploading or submitting content with a spoofed MIME type that contains embedded JavaScript or other executable scripts. The malicious content is stored by the application and subsequently rendered in the browsers of other users who view the affected wiki pages or documentation.

When a victim user accesses the compromised content, the malicious script executes within their browser session with full access to their session cookies, local storage, and the DOM. This enables various attack scenarios including session token theft, keylogging, phishing overlay injection, and performing actions on behalf of the victim user.

For detailed technical information about the vulnerability mechanism, see the GitHub Security Advisory.

Detection Methods for CVE-2026-33193

Indicators of Compromise

  • Unusual script tags or JavaScript code embedded in wiki page content or documentation entries
  • User reports of unexpected browser behavior, pop-ups, or redirects when viewing Docmost pages
  • Suspicious file uploads with mismatched extensions and content types
  • Authentication tokens or session data being transmitted to external domains
  • Unexpected modifications to user account settings or wiki content

Detection Strategies

  • Implement Content Security Policy (CSP) headers with reporting enabled to detect inline script execution attempts
  • Monitor web server logs for requests containing encoded script patterns or suspicious payloads
  • Deploy web application firewall (WAF) rules to detect XSS attack patterns in uploaded content
  • Review stored content in the Docmost database for script injection patterns
  • Analyze network traffic for data exfiltration attempts to unknown external domains

Monitoring Recommendations

  • Enable verbose logging for all content upload and modification operations in Docmost
  • Configure alerts for CSP violation reports indicating attempted script injection
  • Monitor user session patterns for anomalies that may indicate session hijacking
  • Implement file integrity monitoring on Docmost's storage directories
  • Track and alert on unusual patterns of wiki page access or rapid content modifications

How to Mitigate CVE-2026-33193

Immediate Actions Required

  • Upgrade Docmost to version 0.70.0 or later immediately
  • Audit existing wiki content and documentation for embedded malicious scripts
  • Invalidate all active user sessions to prevent exploitation of potentially compromised tokens
  • Review recent content changes and uploads for suspicious activity
  • Implement Content Security Policy headers as a defense-in-depth measure

Patch Information

The vulnerability has been addressed in Docmost version 0.70.0. Organizations running affected versions should upgrade to this version or later to remediate the vulnerability. The patch implements proper MIME type validation and content inspection to prevent MIME type spoofing attacks.

For complete patch details and upgrade instructions, refer to the GitHub Security Advisory.

Workarounds

  • Restrict file upload capabilities to trusted users only until the patch can be applied
  • Implement strict Content Security Policy headers to mitigate script execution (script-src 'self')
  • Deploy a web application firewall with XSS protection rules in front of Docmost
  • Limit user registration and enforce multi-factor authentication to reduce attacker access
  • Consider temporarily disabling file upload functionality if not critical to operations
bash
# Content Security Policy header configuration example for nginx
# Add to your Docmost nginx configuration
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; object-src 'none'; frame-ancestors 'self';" always;

# Enable X-Content-Type-Options to prevent MIME type sniffing
add_header X-Content-Type-Options "nosniff" always;

# Enable XSS protection header
add_header X-XSS-Protection "1; mode=block" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechDocmost

  • SeverityMEDIUM

  • CVSS Score4.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40927: Docmost XSS Vulnerability

  • CVE-2026-34212: Docmost Stored XSS Vulnerability

  • CVE-2026-24045: Docmost Stored XSS Vulnerability

  • CVE-2026-23630: Docmost Mermaid Stored 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