Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file).
CVE-2022-28368
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 82.4%, top 0% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 82%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 82(Track*)EG Risk 82/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation82% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 99.6%
- KEV
- Not listed
Published
April 3, 2022
Last Modified
November 21, 2024
Advisory Details (6)
Auto-updated May 26, 2026Remote code execution vulnerability through persisted font · Issue #2598 · dompdf/dompdf · GitHub
https://github.com/dompdf/dompdf/issues/2598commit 4c70e1025bcd (dompdf/dompdf)
Patch available: dompdf/dompdf v1.2.1 (contains commit 4c70e1025bcd)
https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141ddompdf security alert: RCE vulnerability found in popular PHP PDF library | Snyk
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/GitHub - snyk-labs/php-goof: Snyk PHP Goof - A vulnerable PHP demo application · GitHub
https://github.com/snyk-labs/php-goofMatch installed font filename extension to type
Patch available: dompdf/dompdf v1.2.1 (PR #2808 merged 2022-03-21)
https://github.com/dompdf/dompdf/pull/2808Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| dompdf/dompdf | v0.6.0 ... v1.2.0 (20 versions) | 1.2.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:10 UTCEG score recompute
- 2026-07-22 22:57 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-17 18:29 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 16:23 UTCOSV refresh
Show 43 moreShow fewer
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-12 05:27 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 00:36 UTCEG score recompute
Publicly available exploits
(4 references)Working exploit code is in the public domain (1 Metasploit module) (2 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-51270First seen Apr 6, 2023
Dompdf 1.2.1 - Remote Code Execution (RCE)
Open source ↗ - GitHub PoCrvizx/CVE-2022-28368First seen Feb 13, 2023
Dompdf RCE PoC Exploit - CVE-2022-28368
Open source ↗ - GitHub PoCrvzsec/CVE-2022-28368First seen Feb 13, 2023
Dompdf RCE PoC Exploit - CVE-2022-28368
Open source ↗ - Metasploitexploit/multi/http/dompdf_rce_cve_2022_28368✓ verifiedFirst seen Apr 5, 2022
Dompdf RCE via Malicious Font Caching (CVE-2022-28368)
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2022-28368?
When was CVE-2022-28368 disclosed?
Is CVE-2022-28368 actively exploited?
What is the CVSS score of CVE-2022-28368?
How do I remediate CVE-2022-28368?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-28368
Is Your Infrastructure Affected by CVE-2022-28368?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.