CVE Explorer
CVE-2026-31018
In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and editing permission enforcement in the Website module is not applied consistently to all input parameters, allowing an authenticated user restricted to HTML/JavaScript editing to inject PHP code through unprotected inputs during website page creation.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-284","description":"CWE-284 Improper Access Control","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/adp/0/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-284","description":"CWE-284 Improper Access Control","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/adp/0/problemTypes/1/descriptions/0
Source references
1 source assertion{"url":"https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5362351d33304143a4421a6c9ab9d353ee2be76d1f831bb86dec3e094b2bc1d1 · sha256:20e85a9d345b72ec… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.