{"id":"CVE-2022-28368","aliases":["GHSA-x752-qjv4-c4hc"],"url":"https://o3.security/vulnerability/CVE-2022-28368","summary":"Remote code injection in dompdf/dompdf","details":"Dompdf is an HTML to PDF converter. Dompdf before 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).","published":"2022-04-03T00:00:00Z","modified":"2026-08-12T03:51:38.248856063Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":4,"affectedPackages":[{"ecosystem":"Packagist","name":"dompdf/dompdf","fixedVersion":"1.2.1"}],"fix":{"url":"https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d","label":"dompdf/dompdf@4c70e10"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html"},{"type":"WEB","url":"https://packagist.org/packages/dompdf/dompdf#v1.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28368"},{"type":"REPORT","url":"https://github.com/dompdf/dompdf/issues/2598"},{"type":"FIX","url":"https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d"},{"type":"FIX","url":"https://github.com/dompdf/dompdf/pull/2808"},{"type":"PACKAGE","url":"https://github.com/snyk-labs/php-goof"},{"type":"ARTICLE","url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x752-qjv4-c4hc"},{"type":"PACKAGE","url":"https://github.com/dompdf/dompdf"},{"type":"WEB","url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:38.248856063Z"}}