# CVE-2020-13240: Dolibarr Stored Cross-site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- 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.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-20T14:57:22.000Z
- Modified: 2026-06-17T02:52:46.947Z
- Also known as: GHSA-f848-r5g6-6gpf, BIT-DOLIBARR-2020-13240
- Weaknesses: CWE-79, CWE-276, CWE-668
- Assigned by: mitre

## Description

The DMS/ECM module in Dolibarr 11.0.4 allows users with the 'Setup documents directories' permission to rename uploaded files to have insecure file extensions. This bypasses the .noexe protection mechanism against XSS.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dolibarr/dolibarr (Packagist): 11.0.4
- dolibarr dolibarr_erp/crm: 11.0.4
- dolibarr (Bitnami): from 11.0.4 up to 11.0.4

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.dubget.com/stored-xss-via-file-upload.html> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13240> (advisory, web)
- <https://github.com/Dolibarr/dolibarr> (package)

## Sources

- CVE List: [CVE-2020-13240](https://www.cve.org/CVERecord?id=CVE-2020-13240), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-f848-r5g6-6gpf](https://github.com/advisories/GHSA-f848-r5g6-6gpf), CC-BY-4.0, modified 2025-04-03
- NVD: [CVE-2020-13240](https://nvd.nist.gov/vuln/detail/CVE-2020-13240), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DOLIBARR-2020-13240](https://osv.dev/vulnerability/BIT-DOLIBARR-2020-13240), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2020-13240 · Whole record: https://cve.day/CVE-2020-13240.json · Rebuilt by cve.day 2026-11-25T22:57:52.479Z
