CVE-2022-41343
HIGH 7.5CVSS 3.1Dompdf allows remote file inclusion because URI validation failure does not halt font registration
registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font registration, as demonstrated by a @font-face rule.
- Published
- 25 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-552
- Also known as
- GHSA-6x28-7h8c-chx4
- Sources
- NVDJSONOSV GHSA-6x28-7h8c-chx4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.1 | 2.0.1 |
| OSV | Packagist | dompdf/dompdf | < 2.0.1 | 2.0.1 |
References
- https://github.com/dompdf/dompdf/issues/2994 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/dompdf/dompdf/pull/2995 · Patch, Third Party Advisory, WEB
- https://github.com/dompdf/dompdf/releases/tag/v2.0.1 · Release Notes, Third Party Advisory, WEB
- https://tantosec.com/blog/cve-2022-41343/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41343 · ADVISORY
- https://github.com/dompdf/dompdf/commit/66431c58017d5b1bdb9f6f772b9fbbc5e3d38dc2 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-41343.yaml · WEB
- https://github.com/advisories/GHSA-6x28-7h8c-chx4 · ADVISORY
- https://github.com/dompdf/dompdf · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Sep 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Sep 2022)