Dolibarr Stored Cross-site Scripting via file upload
Date: 2022-05
Affected: composer/dolibarr/dolibarr
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2020-13239
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

The DMS/ECM module in Dolibarr 11.0.4 renders user-uploaded .html files in the browser when the attachment parameter is removed from the direct download link. This causes XSS.


Mitigations:

Architectural layers (MAESTRO):