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
    • 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-2021-47779

CVE-2021-47779: Dolibarr ERP-CRM Stored XSS Vulnerability

CVE-2021-47779 is a stored XSS flaw in Dolibarr ERP-CRM 14.0.2's ticket module that lets low-privilege users inject malicious scripts. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2021-47779 Overview

CVE-2021-47779 is a stored cross-site scripting (XSS) vulnerability affecting Dolibarr ERP-CRM version 14.0.2. The vulnerability exists within the ticket creation module and allows low-privilege users to inject malicious JavaScript code into ticket messages. When an administrator views or copies the crafted ticket content, the embedded script executes in their browser context, potentially enabling privilege escalation and unauthorized administrative actions.

Dolibarr is an open-source ERP and CRM platform widely used by small and medium-sized businesses for managing business processes including invoicing, inventory, and customer relationship management. This vulnerability poses a significant risk to organizations relying on Dolibarr for critical business operations.

Critical Impact

Low-privilege users can escalate to administrative access by exploiting stored XSS in the ticket system, potentially compromising the entire ERP/CRM platform and sensitive business data.

Affected Products

  • Dolibarr ERP-CRM 14.0.2
  • Earlier versions of Dolibarr ERP-CRM may also be affected

Discovery Timeline

  • 2026-01-16 - CVE-2021-47779 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2021-47779

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) resides in the ticket creation module of Dolibarr ERP-CRM. The application fails to properly sanitize user-supplied input when processing ticket messages, allowing attackers to embed malicious JavaScript that persists in the database. The attack requires minimal privileges—any user with ticket creation permissions can exploit this flaw.

The vulnerability is particularly dangerous because it targets administrative workflows. When administrators interact with malicious tickets—specifically when copying text content—the injected script executes with their elevated privileges. This creates a pathway for privilege escalation where low-privilege attackers can perform administrative actions through the victim's session.

Root Cause

The root cause stems from improper input validation and output encoding in the ticket message handling component. User-supplied content is stored in the database without adequate sanitization and subsequently rendered in the browser without proper HTML entity encoding. This allows specially crafted JavaScript to bypass security controls and execute in the context of authenticated users.

Attack Vector

The attack follows a network-based vector requiring user interaction. An attacker with low-level privileges creates a support ticket containing malicious JavaScript embedded within the message body. The payload is designed to trigger during copy operations—a common administrative action when handling support tickets. When an administrator copies the ticket content, the clipboard API interaction triggers the script execution, allowing the attacker to:

  • Steal session tokens and authentication cookies
  • Perform administrative actions on behalf of the victim
  • Create new administrative accounts
  • Access and exfiltrate sensitive business data
  • Modify system configurations

The vulnerability exploits the trust relationship between authenticated administrators and the ticket management system. Since ticket content is expected to be user-generated, administrators may not exercise caution when handling ticket data.

Detection Methods for CVE-2021-47779

Indicators of Compromise

  • Unusual JavaScript patterns in ticket message content, including <script> tags and event handlers
  • Ticket entries containing encoded JavaScript payloads using HTML entities or URL encoding
  • Unexpected administrative actions or account creations following ticket review activities
  • Browser console errors or warnings when viewing specific tickets

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS patterns in form submissions
  • Monitor database entries in ticket-related tables for suspicious script content
  • Enable Content Security Policy (CSP) headers to restrict script execution sources
  • Review application logs for unusual patterns in ticket creation and administrator access sequences

Monitoring Recommendations

  • Configure alerts for ticket messages containing common XSS payload signatures
  • Monitor administrator session activity for anomalous behavior following ticket interactions
  • Implement real-time scanning of user-generated content for malicious patterns
  • Track clipboard-related JavaScript events in administrative interfaces

How to Mitigate CVE-2021-47779

Immediate Actions Required

  • Upgrade Dolibarr ERP-CRM to the latest patched version immediately
  • Review existing tickets for potentially malicious content before accessing them
  • Implement strict Content Security Policy headers to mitigate XSS impact
  • Restrict ticket creation permissions to trusted users until patches are applied

Patch Information

Organizations should upgrade to a patched version of Dolibarr ERP-CRM that addresses the input validation issues in the ticket module. Consult the GitHub Dolibarr Repository and Dolibarr Official Website for the latest security updates. Additional technical details can be found in the VulnCheck Dolibarr Advisory and Exploit-DB #50432.

Workarounds

  • Implement server-side input validation to strip or encode HTML and JavaScript from ticket messages
  • Deploy a Web Application Firewall with XSS protection rules in front of the Dolibarr instance
  • Disable or restrict access to the ticket module for untrusted users until patching is complete
  • Use browser extensions that block JavaScript execution when reviewing user-generated content
bash
# Example Apache CSP configuration for XSS mitigation
# Add to .htaccess or Apache configuration file
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechDolibarr

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Dolibarr Repository

  • Dolibarr Official Website

  • Exploit-DB #50432

  • VulnCheck Dolibarr Advisory
  • Related CVEs
  • CVE-2020-36966: Dolibarr LDAP XSS Vulnerability

  • CVE-2026-34036: Dolibarr LFI Information Disclosure Flaw

  • CVE-2019-25450: Dolibarr ERP/CRM SQLi Vulnerability

  • CVE-2019-25452: Dolibarr ERP/CRM SQLi Vulnerability
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