{"id":"CVE-2022-28368","aliases":["CVE-2022-28368","GHSA-x752-qjv4-c4hc"],"related":[],"kind":"vulnerability","state":"published","title":"Remote code injection in dompdf/dompdf","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Dompdf versión 1.2.1, permite una ejecución de código remota por medio de un archivo .php en el campo src:url de una declaración @font-face Cascading Style Sheets (CSS) (dentro de un archivo de entrada HTML)","source":"nvd"}],"published":"2022-04-03T00:00:00.000Z","modified":"2026-06-17T04:38:26.510Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"Packagist","package":"dompdf/dompdf","purl":"pkg:composer/dompdf/dompdf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.2.1"}],"vendor":"dompdf_project","product":"dompdf","cpe":"cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/dompdf/dompdf/issues/2598","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/snyk-labs/php-goof","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://packagist.org/packages/dompdf/dompdf#v1.2.1","tags":["product","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dompdf/dompdf/pull/2808","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28368","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-x752-qjv4-c4hc","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dompdf/dompdf","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-28368","url":"https://www.cve.org/CVERecord?id=CVE-2022-28368","licence":"CVE Terms of Use","modified":"2024-08-03T05:56:14.887Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x752-qjv4-c4hc","url":"https://github.com/advisories/GHSA-x752-qjv4-c4hc","licence":"CC-BY-4.0","modified":"2024-02-16T08:01:54.574Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-28368","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28368","licence":"Public domain","modified":"2026-06-17T04:38:26.510Z"}],"updatedAt":"2026-11-25T22:58:10.381Z","epss":{"score":0.83942,"percentile":0.99693,"date":"2026-12-01T12:00:22.000Z"}}