# CVE-2021-42220: Dolibarr Cross Site Scripting (XSS) vulnerability

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/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.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-15T06:32:03.000Z
- Modified: 2026-06-17T04:09:29.140Z
- Also known as: GHSA-jqfp-m5f8-vg28
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dolibarr/dolibarr (Packagist): before 14.0.3
- dolibarr dolibarr: before 14.0.3

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://truedigitalsecurity.com/advisory-summary-2021> (exploit, third-party-advisory, web)
- <https://packetstormsecurity.com/files/164544/Dolibarr-ERP-CRM-14.0.2-Cross-Site-Scripting-Privilege-Escalation.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42220> (advisory)
- <https://github.com/Dolibarr/dolibarr> (package)

## Sources

- CVE List: [CVE-2021-42220](https://www.cve.org/CVERecord?id=CVE-2021-42220), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jqfp-m5f8-vg28](https://github.com/advisories/GHSA-jqfp-m5f8-vg28), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2021-42220](https://nvd.nist.gov/vuln/detail/CVE-2021-42220), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42220 · Whole record: https://cve.day/CVE-2021-42220.json · Rebuilt by cve.day 2026-11-25T22:58:05.987Z
