registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion…
Priority HIGH 72CWE-552Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-552.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.05984 93rd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed dompdf/dompdf (Packagist): 2.0.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | dompdf/dompdf (Packagist) | before 2.0.1 | 2.0.1 | Patch available | GHSA-6x28-7h8c-chx4 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- dompdf/dompdf (Packagist) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-6x28-7h8c-chx4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* | before 2.0.1 | Vulnerable | Dompdf Project |
- cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* Versions before 2.0.1 Vulnerable ·Dompdf Project
Remediation
- Fix · GHSA-6x28-7h8c-chx4 dompdf/dompdf (Packagist) Fixed in 2.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-41343
- 2026-10-03 Alias added: GHSA-6x28-7h8c-chx4
References
Advisory 3
More Dompdf Project Dompdf vulnerabilities
- TI-2022-11122 Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an… CVSS 3.1CRITICAL 9.8
- TI-2023-10313 URI validation failure on SVG parsing. Bypass of CVE-2023-23924 CVSS 3.1CRITICAL 10.0
- TI-2023-09722 URI validation failure on SVG parsing in Dompdf CVSS 3.1CRITICAL 10.0
- TI-2021-02812 Improper Restriction of XML External Entity Reference in dompdf/dompdf CVSS 3.1CRITICAL 9.8
- TI-2021-02769 PHAR Deserialization in dompdf/dompdf CVSS 3.1CRITICAL 9.8
- TI-2026-42749 Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps CVSS 4.0MEDIUM 6.3
Sources
- CVE-2022-41343 · CVE Program
- CVE-2022-41343 · NVD
- FIRST EPSS
- GHSA-6x28-7h8c-chx4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences