# CVE-2026-31018: Dolibarr Allows Code Injection through its Website Module

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-04-21T00:00:00.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-676v-wh57-p375
- Weaknesses: CWE-94, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dolibarr/dolibarr (Packagist): up to 15.0.3
- dolibarr dolibarr_erp/crm: up to 22.0.4

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/PhDg1410/CVE/blob/main/CVE-2026-31018/README.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31018> (advisory)
- <https://github.com/Dolibarr/dolibarr/commit/ba28d16da4cc0c221f49a878fecc8425501ceb96> (web)
- <https://github.com/Dolibarr/dolibarr> (package)
- <https://github.com/Dolibarr/dolibarr/releases/tag/23.0.0> (web)
- <http://dolibarr.com> (web)

## Sources

- CVE List: [CVE-2026-31018](https://www.cve.org/CVERecord?id=CVE-2026-31018), CVE Terms of Use, modified 2026-07-05
- GitHub Advisory Database: [GHSA-676v-wh57-p375](https://github.com/advisories/GHSA-676v-wh57-p375), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-31018](https://nvd.nist.gov/vuln/detail/CVE-2026-31018), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31018 · Whole record: https://cve.day/CVE-2026-31018.json · Rebuilt by cve.day 2026-11-25T22:59:19.107Z
