Skip to main content

Dolibarr EUVDEUVD-2026-104654

| CVE-2026-112361 MEDIUM
Protection Mechanism Failure (CWE-693)
2026-10-19 VulDB GHSA-pjw4-48vq-qc92
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Dolibarr instance
  2. Delivery
    Access document.php/viewimage.php endpoint
  3. Exploit
    Leverage weakened CSP form-action policy
  4. Execution
    Redirect or submit form data
  5. Impact
    Limited information disclosure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Exploitation targets Dolibarr's document-serving endpoints (htdocs/document.php and htdocs/viewimage.php), where the Content-Security-Policy was set with form-action 'self' instead of the stricter form-action 'none', permitting form submissions from served content. Per the CVSS vector, PR:L indicates authenticated access to the Dolibarr application is required (not a default-unauthenticated remote exploit), and UI:N means no victim interaction is needed. The practical impact is limited because this is a weakened defense-in-depth control rather than a primary vulnerability - meaningful abuse generally requires a second content-injection flaw to place a malicious form into the served response, which constrains real-world exploitability.

Impact

This is a genuinely moderate-to-low priority issue, not a high-urgency flaw. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) yields a base score of 5.3 (Medium), with all three impact metrics rated Low and the exploitation code maturity left undefined (E:X). The underlying weakness (CWE-693, Protection Mechanism Failure) is corroborated by the source-code evidence: the patch merely tightens a Content-Security-Policy directive, changing form-action 'self' to form-action 'none' in htdocs/document.php and htdocs/viewimage.php - i.e., a hardening of a defense-in-depth control rather than a directly exploitable memory, injection, or auth-bypass bug. No EPSS score, KEV listing, or SSVC decision data was provided in the input, and there is no POC reference; the only sources are VulDB entries and the GitHub patch. The signals are internally consistent (low-impact CSP weakening, requires authenticated access per PR:L) and none conflict, but the absence of EPSS/KEV means exploitation likelihood cannot be quantified - though the nature of the bug (a weakened CSP, not a primary vulnerability) strongly suggests low real-world risk absent a chainable secondary flaw.

Exploit ScenarioDerived

An authenticated attacker who can influence content served through Dolibarr's document.php or viewimage.php endpoints could embed a form that submits to an attacker-controlled destination, because the pre-patch CSP permitted form-action 'self' rather than blocking it entirely. This serves as a defense-in-depth gap that could assist CSRF-style or data-exfiltration chains only if combined with another content-injection flaw. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Dolibarr up to and including 23.0.2 uses a weakened Content-Security-Policy on its document-serving endpoints: htdocs/document.php and htdocs/viewimage.php define MAIN_SECURITY_FORCECSP with form-action 'self' instead of the stricter form-action 'none'. This is a defense-in-depth protection-mechanism failure, not a directly exploitable injection flaw; meaningful abuse generally requires a separate content-injection primitive to place a malicious form into content served from those endpoints, which constrains real-world exploitability. The CVSS vector requires authenticated access (PR:L) and no user interaction, and the issue is assessed as moderate-to-low priority; no public exploit was identified at time of analysis, and upgrading to 24.0.0 resolves it.

RemediationAI

Upgrade to Dolibarr 24.0.0, which changes form-action from 'self' to 'none' in htdocs/document.php and htdocs/viewimage.php. If an immediate upgrade is not possible, apply commit 9f9ffa288d4ad2632c1d5dd88272c699a592f4ec or manually edit the MAIN_SECURITY_FORCECSP define in those two files to use form-action 'none', then test document and image preview workflows because legitimate same-origin form posts from those endpoints will be blocked. As compensating controls, restrict upload of untrusted HTML, SVG, or other active content and review any second-order content-injection paths that could place attacker-controlled forms into served responses. Vendor references are https://github.com/Dolibarr/dolibarr/releases/tag/24.0.0, https://github.com/Dolibarr/dolibarr/commit/9f9ffa288d4ad2632c1d5dd88272c699a592f4ec, and https://vuldb.com/vuln/422397.

Affected VersionsENISA

dolibarr 23.0.1
dolibarr 23.0.2
dolibarr 23.0.0

Affected Packages

euvd dolibarr no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dolibarr is a PHP-based ERP/CRM application. The affected code sets a Content-Security-Policy string in htdocs/document.php and htdocs/viewimage.php using default-src 'none'; form-action 'self'; frame-ancestors 'self'. The CSP form-action directive controls which URLs may be targets of form submissions from the protected document; using 'self' permits forms served from the Dolibarr origin to submit to same-origin endpoints, whereas the intended policy is 'none'. The vendor fix in commit 9f9ffa288d4ad2632c1d5dd88272c699a592f4ec changes both occurrences to form-action 'none'. CWE-693 (Protection Mechanism Failure) applies because the CSP control exists but is weaker than intended, rather than because of a direct code-execution or injection bug. Because CSP is a browser-enforced defense-in-depth control, exploitability depends on an attacker first getting a form into content served from these endpoints; without that second primitive the direct impact is limited. The CPE cpe:2.3:a:n/a:dolibarr:*:*:*:*:*:*:*:* identifies the Dolibarr application broadly without a version bound.

Know when Dolibarr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.3 MEDIUM

Network-reachable endpoint (AV:N), low complexity (AC:L), but requires an authenticated session to reach document.php (PR:L); impacts are limited (C/I/A:L) since only a defense-in-depth CSP control is weakened.

3.1 AV:N/AC:L/PR:L/UI:N/S:N/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been found in Dolibarr up to 23.0.2. The impacted element is an unknown function of the file htdocs/document.php of the component CSP. Such manipulation leads to protection mechanism failure. The attack can be executed remotely. Upgrading to version 24.0.0 is sufficient to resolve this issue. The name of the patch is 9f9ffa288d4ad2632c1d5dd88272c699a592f4ec. You should upgrade the affected component.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source PHP ERP/CRM, common in SMBs but not ubiquitous
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-38886 HIGH POC
7.2 Sep 20

An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra

CVE-2023-30253 HIGH POC
8.8 May 29

Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea

CVE-2017-7886 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit

CVE-2023-38888 CRITICAL POC
9.6 Sep 20

Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive

CVE-2017-7888 CRITICAL POC
9.8 May 10

Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s

CVE-2022-4093 CRITICAL POC
9.8 Nov 21

SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe

CVE-2022-43138 CRITICAL POC
9.8 Nov 17

Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra

CVE-2022-40871 CRITICAL POC
9.8 Oct 12

Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-33816 CRITICAL POC
9.8 Nov 10

The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha

CVE-2020-7995 CRITICAL POC
9.8 Jan 26

The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem

CVE-2018-10094 CRITICAL POC
9.8 May 22

SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto

CVE-2018-25357 CRITICAL POC
9.3 May 23

Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy