Critical severityNVD Advisory· Published Apr 3, 2022· Updated Aug 3, 2024
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
2Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-x752-qjv4-c4hcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-28368ghsaADVISORY
- packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.htmlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yamlghsaWEB
- github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141dghsaWEB
- github.com/dompdf/dompdf/issues/2598ghsaWEB
- github.com/dompdf/dompdf/pull/2808ghsaWEB
- packagist.org/packages/dompdf/dompdfghsaWEB
- snyk.io/blog/security-alert-php-pdf-library-dompdf-rceghsaWEB
- snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/mitre
News mentions
1- Metasploit Wrap Up 05/29/2026Rapid7 Blog · May 29, 2026