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-2020-36966

CVE-2020-36966: Dolibarr LDAP XSS Vulnerability

CVE-2020-36966 is a persistent XSS flaw in Dolibarr 11.0.3 LDAP settings that allows attackers to inject malicious scripts via host, slave, and port parameters. This article covers technical details, impact, and mitigation.

Published: February 6, 2026

CVE-2020-36966 Overview

CVE-2020-36966 is a persistent cross-site scripting (XSS) vulnerability affecting Dolibarr 11.0.3, an open-source ERP and CRM platform. The vulnerability exists in the LDAP synchronization settings functionality, specifically within the /dolibarr/admin/ldap.php endpoint. Attackers with administrative access can inject malicious JavaScript code through multiple input parameters, including the host, slave, and port fields. When stored and subsequently rendered, these malicious scripts execute in the context of other users' browser sessions.

Critical Impact

Successful exploitation allows attackers to steal user cookie information, hijack administrative sessions, and potentially compromise the entire Dolibarr installation through persistent script injection in the LDAP configuration interface.

Affected Products

  • Dolibarr 11.0.3
  • Dolibarr versions prior to 11.0.3 (potentially affected)

Discovery Timeline

  • 2026-01-30 - CVE CVE-2020-36966 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2020-36966

Vulnerability Analysis

This persistent cross-site scripting vulnerability (CWE-79) stems from insufficient input validation and output encoding in Dolibarr's LDAP administration interface. The application fails to properly sanitize user-supplied input before storing it in the database and subsequently fails to encode this data when rendering it in HTML contexts.

The vulnerable endpoint at /dolibarr/admin/ldap.php accepts configuration parameters for LDAP server connectivity. These parameters—specifically the host, slave, and port fields—are stored without adequate sanitization. When an administrator later views or modifies the LDAP settings, the stored malicious payload executes within their browser session.

The attack requires authenticated access to the administrative panel, typically limiting the initial attack surface. However, once injected, the malicious scripts persist and execute for any user who accesses the LDAP configuration page, making this a stored XSS vulnerability with potentially wider impact than reflected XSS variants.

Root Cause

The root cause of this vulnerability is improper neutralization of input during web page generation. The Dolibarr application does not implement adequate input validation when processing LDAP configuration parameters, nor does it perform proper output encoding when displaying these stored values in the administrative interface. This allows HTML and JavaScript content to be interpreted as executable code rather than rendered as harmless text.

Attack Vector

The attack vector is network-based, requiring an authenticated attacker to access the Dolibarr administrative interface. The attacker navigates to the LDAP synchronization settings page and injects malicious JavaScript payloads into vulnerable form fields such as the LDAP host, slave server, or port parameters. These payloads are then stored in the application's database.

When any administrator subsequently views the LDAP configuration page, the browser renders the stored malicious content, executing the injected scripts. The attacker can craft payloads to exfiltrate session cookies, perform actions on behalf of the victim, or redirect users to malicious sites. The persistent nature of this XSS means the payload remains active until manually removed from the database.

For technical details and proof-of-concept information, refer to Exploit-DB #48504 and the VulnCheck Dolibarr Advisory.

Detection Methods for CVE-2020-36966

Indicators of Compromise

  • Unexpected JavaScript code or HTML tags present in LDAP configuration fields in the Dolibarr database
  • Unusual outbound network connections originating from administrator browsers when accessing LDAP settings
  • Modified or suspicious entries in the host, slave, or port fields of LDAP configuration
  • Browser console errors or unexpected script execution when loading /dolibarr/admin/ldap.php

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in POST requests to /dolibarr/admin/ldap.php
  • Enable Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Monitor application logs for suspicious input patterns containing <script>, javascript:, or event handlers like onerror
  • Conduct periodic database audits of LDAP configuration tables for stored XSS payloads

Monitoring Recommendations

  • Configure browser-based XSS auditors and report-only CSP policies to detect exploitation attempts
  • Enable detailed access logging for administrative endpoints, particularly /admin/ldap.php
  • Set up alerts for modifications to LDAP configuration settings outside of expected maintenance windows
  • Monitor for cookie exfiltration attempts or unexpected cross-origin requests from the Dolibarr application

How to Mitigate CVE-2020-36966

Immediate Actions Required

  • Upgrade Dolibarr to the latest stable version that includes patches for this vulnerability
  • Review and sanitize existing LDAP configuration entries in the database for any injected scripts
  • Restrict administrative access to trusted personnel only and enforce strong authentication
  • Implement Content Security Policy headers to prevent inline script execution

Patch Information

Organizations should upgrade to a patched version of Dolibarr that addresses this XSS vulnerability. Check the Dolibarr Official Website for the latest security updates and release notes. Review the changelog to confirm the version includes fixes for CVE-2020-36966 before deployment.

Workarounds

  • Implement a Web Application Firewall (WAF) with XSS filtering rules to block malicious payloads targeting LDAP configuration endpoints
  • Add strict Content Security Policy headers to prevent execution of inline scripts: Content-Security-Policy: default-src 'self'; script-src 'self'
  • Limit access to the LDAP administration page (/admin/ldap.php) to essential personnel using network-level access controls
  • Manually sanitize any existing LDAP configuration data in the database by removing suspicious HTML or JavaScript content
bash
# Example CSP header configuration for Apache
# Add to .htaccess or Apache configuration file
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; 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

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Dolibarr Official Website

  • Exploit-DB #48504

  • VulnCheck Dolibarr Advisory
  • Related CVEs
  • CVE-2021-47779: Dolibarr ERP-CRM Stored 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