CVE-2022-41343 json
Dompdf allows remote file inclusion because URI validation failure does not halt font registration
published 4y ago modified 4mo ago also GHSA-6x28-7h8c-chx4 , EUVD-2022-6724
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.0%
- EPSS 6.0% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist dompdf/dompdf 2.0.1
- dompdf_project dompdf 2.0.1
- github.com/dompdf/dompdf@66431c5 commit
- github.com/dompdf/dompdf#2995 pull request
- github.com/dompdf/dompdf/releases/tag/v2.0.1 release
- github.com/dompdf/dompdf/issues/2994 advisory
Is CVE-2022-41343 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
5.98% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/dompdf/dompdf/issues/2994 referenced PoC, tagged "exploit" by a source, unverified
- tantosec.com https://tantosec.com/blog/cve-2022-41343/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | dompdf/dompdf | <2.0.1 |
2.0.1 |
Classification
- Weakness
-
- CWE-552 Files or Directories Accessible to External Parties
References
-
github.com
/dompdf/dompdf/pull/2995
web, patch, third-party-advisory
-
github.com
/dompdf/dompdf/issues/2994
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/dompdf/dompdf/commit/66431c58017d5b1bdb9f6f772b9fbbc5e3d38dc2
web
-
tantosec.com
/blog/cve-2022-41343/
exploit, third-party-advisory
-
github.com
/dompdf/dompdf/releases/tag/v2.0.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41343
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-41343.yaml
web
-
github.com
/advisories/GHSA-6x28-7h8c-chx4
advisory
-
github.com
/dompdf/dompdf
package
-
tantosec.com
/blog/cve-2022-41343
web
Sources
- CVE List CVE-2022-41343
- GitHub Advisory GHSA-6x28-7h8c-chx4
- NVD CVE-2022-41343
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.