# CVE-2022-41343: Dompdf allows remote file inclusion because URI validation failure does not halt font registration

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 6.38%, higher than 93% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-09-25T00:00:00.000Z
- Modified: 2026-06-17T05:03:03.800Z
- Also known as: GHSA-6x28-7h8c-chx4
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dompdf/dompdf (Packagist): before 2.0.1
- dompdf_project dompdf: before 2.0.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/dompdf/dompdf/issues/2994> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://tantosec.com/blog/cve-2022-41343/> (exploit, third-party-advisory)
- <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://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)
- <https://tantosec.com/blog/cve-2022-41343> (web)

## Sources

- CVE List: [CVE-2022-41343](https://www.cve.org/CVERecord?id=CVE-2022-41343), CVE Terms of Use, modified 2025-05-22
- GitHub Advisory Database: [GHSA-6x28-7h8c-chx4](https://github.com/advisories/GHSA-6x28-7h8c-chx4), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-41343](https://nvd.nist.gov/vuln/detail/CVE-2022-41343), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41343 · Whole record: https://cve.day/CVE-2022-41343.json · Rebuilt by cve.day 2026-11-25T22:58:15.288Z
