Skip to main content

Dolibarr ERP CRM CVE-2026-130848

| EUVDEUVD-2026-127254 HIGH
Code Injection (CWE-94)
2026-11-17 VulnCheck GHSA-7pjv-w5cj-v97w
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as website editor
  2. Delivery
    Upload crafted template zip with PHP in javascript.js.php
  3. Exploit
    Import writes file to web output dir
  4. Execution
    Request public javascript.js.php endpoint
  5. Impact
    PHP executes as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Dolibarr account with the website-editor capability but is explicitly possible WITHOUT the PHP-editing permission - that privilege-boundary bypass is the core of the flaw. The attacker must use the website template import feature (Website::importWebSite()) to supply a zip whose javascript.js.php embeds PHP, and execution occurs when the public javascript.js.php endpoint includes that file. Limiting factors: PR:L means low-privileged but still valid editor access is needed (not pre-auth), the website module must be in use, and versions at or before 24.0.3 are affected - patched builds reject imported files containing PHP dynamic content.

Impact

This is a credible this-week priority rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack needing no user interaction and only low privileges, with high impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H) because successful exploitation yields PHP code execution as the web server user - consistent with the CWE-94 classification and the 8.7 High score. The one genuine gating factor is PR:L: an attacker must already hold a Dolibarr 'website editor' role, which is why this is a privilege-escalation/code-execution path (editor without PHP permission gains PHP execution) rather than a pre-auth RCE. No EPSS score and no CISA KEV entry were provided, and no confirmed working exploit is referenced - only a VulnCheck advisory - so there is no signal of active or widespread exploitation at this time; the risk is driven by severity and ease of exploitation for anyone who already has editor access, not by observed in-the-wild activity. The SSVC/decision inputs are limited to the vendor priority label 'this_week', which aligns with a patched, high-impact but privilege-gated flaw. Net: patch promptly, especially where untrusted or low-trust users hold website-editor roles.

Exploit ScenarioDerived

An attacker holding a low-privileged Dolibarr website-editor account (without PHP permission) crafts a website template zip in which javascript.js.php contains PHP code, then uses the website import feature to load it. Because the public javascript.js.php endpoint includes that file, the planted PHP executes as the web server user when the endpoint is requested, giving code execution. No confirmed public exploit code is referenced, only a VulnCheck advisory describing the issue.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Code injection in Dolibarr ERP CRM through 24.0.3 lets a website editor who lacks the PHP-editing permission run arbitrary PHP as the web server user by importing a crafted website template. The editor uploads a template zip whose javascript.js.php carries embedded PHP, and the publicly reachable javascript.js.php endpoint then includes that file - so the deliberate privilege boundary between 'can edit website content' and 'can run server-side code' collapses. The flaw is rated 8.7 (assessed CVSS:3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), requires an authenticated low-privileged account plus use of the website module, and no public exploit has been identified at time of analysis; the vendor fix is available upstream and priority is this-week rather than emergency.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit 71e0009105ed83057e66b11c94b552b0c378d32c (https://github.com/Dolibarr/dolibarr/commit/71e0009105ed83057e66b11c94b552b0c378d32c) and confirm the deployment runs a Dolibarr build later than 24.0.3 that contains it, since Dolibarr advisories and the VulnCheck write-up (https://www.vulncheck.com/advisories/dolibarr-erp-crm-through-24.0.3-code-injection-via-website-template-import) are the authoritative confirmation points. Verify after upgrading by attempting a template import whose javascript.js.php contains PHP: a fixed instance must abort with the 'PHP dynamic content' error instead of completing the import. Until the patched build is in place, the practical compensating control is to withdraw website-template-import access from low-privileged website editors and reserve it for trusted administrators, understanding that this narrows the feature set for content staff and does not remove the underlying inclusion of PHP-backed assets; note that the vulnerability is only reachable while the Website module is enabled, so disabling that module closes the exposure entirely at the cost of losing the public website feature. There is no documented configuration flag in the supplied sources that sanitizes imported containers on an unpatched release.

Affected VersionsENISA

Dolibarr ERP CRM 0 ≤24.0.3

Affected Packages

euvd dolibarr_erp_crm 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's Website module stores each site under a directory of 'containers' that mix static assets with PHP-backed wrappers (javascript.js.php, styles.css.php, manifest.json.php, htmlheader.html). The template import routine Website::importWebSite() previously copied the imported containers directory wholesale into the live output directory with dolCopyDir(), without inspecting file contents. Because those wrappers are later served and included by the public website endpoint, any PHP an editor embedded in the imported javascript.js.php was executed server-side - a classic CWE-94 code injection where data (an uploaded template) is treated as executable code. The upstream fix commit 71e0009105ed83057e66b11c94b552b0c378d32c removes the bulk copy and handles each special file individually: it runs dolKeepOnlyPhpCode() over robots.txt, .dolibarr, .htaccess, LICENSE, README.md, javascript.js.php and manifest.json.php, strips the generated 'BEGIN PHP ... END PHP' marker blocks before regeneration, and aborts the import with an explicit error when residual PHP dynamic content is detected. The CPE cpe:2.3:a:dolibarr:dolibarr_erp_crm with wildcard version confirms the impact is product-wide for releases up to and including 24.0.3, independent of deployment platform.

Know when Dolibarr Erp Crm 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 (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable import feature usable by a low-privileged website editor without user interaction (PR:L/AC:L/UI:N), yielding full code execution as the web server user (C/I/A:H).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

Dolibarr ERP CRM through 24.0.3 contains a code injection vulnerability in Website::importWebSite() that allows website editors without PHP permission to execute code by importing templates. Attackers can import a template zip whose javascript.js.php contains PHP code, which the public javascript.js.php endpoint includes, executing code as the web server user.

Executive ViewAI

Why It Matters

Dolibarr ERP CRM (up to version 24.0.3) contains a high-severity code injection flaw that enables a website editor without PHP-editing rights to execute arbitrary server-side code. This undermines the intended separation between content editing and server administration, potentially exposing sensitive business data and disrupting critical operations. Leadership should prioritize remediation because the vulnerability affects core ERP systems and could be exploited by an authenticated low-privileged user.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 44% exploitable
Prevalence
Medium
popular open-source ERP/CRM, common in SMBs but not ubiquitous
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2024-5315 CRITICAL POC
9.1 May 24

Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. Rated critical severity (CVSS 9

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