CVE-2020-14475: Dolibarr reflected cross-site scripting (XSS) vulnerability
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49145%
CWE
Published
5/24/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
dolibarr/dolibarr | composer | < 11.0.5 | 11.0.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped output of user-controlled parameters (transphrase and transkey) in notice.php. The patch introduced dol_escape_htmltag to sanitize these outputs, confirming that the original code lacked proper escaping. The 'alphanohtml' filter in GETPOST was not sufficient for HTML context safety, making these function calls vulnerable when their results are printed directly.