Critical severity9.8NVD Advisory· Published Apr 3, 2022· Updated Jun 17, 2026
CVE-2022-28368
CVE-2022-28368
Description
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dompdf/dompdfPackagist | < 1.2.1 | 1.2.1 |
Affected products
3Patches
Vulnerability mechanics
References
10- github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141dnvdPatchThird Party AdvisoryWEB
- github.com/dompdf/dompdf/issues/2598nvdPatchThird Party AdvisoryWEB
- github.com/dompdf/dompdf/pull/2808nvdPatchThird Party AdvisoryWEB
- snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/nvdExploitThird Party Advisory
- github.com/advisories/GHSA-x752-qjv4-c4hcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-28368ghsaADVISORY
- packagist.org/packages/dompdf/dompdfnvdProductThird Party AdvisoryWEB
- packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.htmlnvdWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yamlghsaWEB
- snyk.io/blog/security-alert-php-pdf-library-dompdf-rceghsaWEB
News mentions
1- Metasploit Wrap Up 05/29/2026Rapid7 Blog · May 29, 2026