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-34212

CVE-2026-34212: Docmost Stored XSS Vulnerability

CVE-2026-34212 is a stored cross-site scripting flaw in Docmost that allows authenticated attackers to inject malicious JavaScript via attachment URLs. This post explains its impact, affected versions, and mitigation steps.

Published: April 17, 2026

CVE-2026-34212 Overview

CVE-2026-34212 is a stored Cross-Site Scripting (XSS) vulnerability in Docmost, an open-source collaborative wiki and documentation software. The vulnerability exists due to improper neutralization of attachment URLs, allowing a low-privileged authenticated user to store a malicious javascript: URL inside an attachment node in page content. When another user views the page and activates the attachment link or icon, attacker-controlled JavaScript executes in the context of the Docmost origin.

Critical Impact

Authenticated attackers can inject malicious JavaScript that executes in the browsers of other users viewing affected pages, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of victims.

Affected Products

  • Docmost versions prior to 0.71.0

Discovery Timeline

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

Technical Details for CVE-2026-34212

Vulnerability Analysis

This vulnerability is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-Site Scripting). The flaw stems from insufficient validation and sanitization of user-supplied URLs within attachment nodes in Docmost's page content system. When a low-privileged authenticated user creates or edits page content, they can embed attachment references with arbitrary URL schemes, including the javascript: protocol.

The attack requires user interaction—specifically, another user must click on the malicious attachment link or icon. Once triggered, the injected JavaScript executes within the security context of the Docmost application origin, granting the attacker access to session tokens, cookies, and the ability to perform actions as the victim user.

Root Cause

The root cause is the lack of proper URL scheme validation when processing attachment URLs. Docmost fails to enforce an allowlist of safe URL protocols (such as http:, https:, or relative paths) when storing and rendering attachment nodes. This oversight allows arbitrary protocol handlers, including javascript:, to be embedded directly into page content.

Attack Vector

The attack is network-based and requires low privileges (any authenticated user can exploit it) combined with user interaction from the victim. An attacker would:

  1. Authenticate to the Docmost instance with any valid user account
  2. Create or edit a page and insert an attachment node
  3. Set the attachment URL to a javascript: URI containing malicious code
  4. Wait for another user (potentially with higher privileges) to view the page and click the attachment

The malicious JavaScript then executes in the victim's browser session, potentially allowing the attacker to steal session cookies, perform actions as the victim, or redirect users to phishing pages.

Detection Methods for CVE-2026-34212

Indicators of Compromise

  • Page content containing attachment nodes with javascript: URL schemes
  • Unexpected JavaScript execution when users interact with attachment links
  • User reports of unusual behavior after clicking attachments in wiki pages
  • Audit logs showing attachment URL modifications containing script payloads

Detection Strategies

  • Implement content security policies (CSP) that restrict inline script execution
  • Monitor page content for suspicious URL patterns, particularly javascript: protocol handlers
  • Review audit logs for page edits that introduce attachment nodes with non-standard URL schemes
  • Deploy web application firewalls (WAF) with rules to detect XSS payloads in stored content

Monitoring Recommendations

  • Enable verbose logging for page content modifications and attachment changes
  • Set up alerts for CSP violation reports that may indicate XSS exploitation attempts
  • Regularly audit stored page content for potentially malicious URL patterns
  • Monitor for unusual session activity that could indicate session hijacking

How to Mitigate CVE-2026-34212

Immediate Actions Required

  • Upgrade Docmost to version 0.71.0 or later immediately
  • Audit existing page content for attachment nodes containing javascript: URLs
  • Review user activity logs for signs of exploitation
  • Consider temporarily restricting attachment creation privileges until patched

Patch Information

Docmost version 0.71.0 addresses this vulnerability by implementing proper URL scheme validation for attachment nodes. Organizations should upgrade to this version or later as soon as possible. For more details, refer to the GitHub Security Advisory.

Workarounds

  • Implement a strict Content Security Policy (CSP) header that blocks inline scripts and javascript: URIs
  • Use a web application firewall to filter requests containing javascript: protocol handlers
  • Restrict page editing permissions to trusted users only until the patch is applied
  • Manually review and sanitize existing page content for suspicious attachment URLs

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 Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/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-33193: 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