CVE-2022-2400
MEDIUM 5.3CVSS 3.1Dompdf before v2.0.0 vulnerable to chroot check bypass
External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.
- Published
- 18 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-73
- Also known as
- GHSA-5qj8-6xxj-hp9h
- Sources
- NVDJSONOSV GHSA-5qj8-6xxj-hp9hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dompdf_project | dompdfcpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| OSV | Packagist | dompdf/dompdf | < 2.0.0 | 2.0.0 |
References
- https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/a6da5e5e-86be-499a-a3c3-2950f749202a · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/07/msg00017.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2400 · ADVISORY
- https://github.com/dompdf/dompdf · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jul 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Jul 2022)