CVE-2021-42220 json
Dolibarr Cross Site Scripting (XSS) vulnerability
published 2021-12-15 4 y ago modified 2026-06-17 4 mo ago also GHSA-jqfp-m5f8-vg28 , EUVD-2021-2547
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
A Cross Site Scripting (XSS) vulnerability exists in Dolibarr before 14.0.3 via the ticket creation flow. Exploitation requires that an admin copies the payload into a box.
Patch / fix
- packagist dolibarr/dolibarr 14.0.3
- dolibarr dolibarr 14.0.3
Exploit prediction
0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- truedigitalsecurity.com https://truedigitalsecurity.com/advisory-summary-2021 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | dolibarr/dolibarr | <14.0.3 |
14.0.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
truedigitalsecurity.com
/advisory-summary-2021
web, exploit, third-party-advisory
-
packetstormsecurity.com
/files/164544/Dolibarr-ERP-CRM-14.0.2-Cross-Site-Scripting-Privilege-Escalation.html
web, third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2021-42220
advisory
-
github.com
/Dolibarr/dolibarr
package
Sources
- CVE List CVE-2021-42220
- GitHub Advisory GHSA-jqfp-m5f8-vg28
- NVD CVE-2021-42220
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.