{"id":"CVE-2022-28368","aliases":["CLSA-2025-1766364765","EUVD-2022-1865","GHSA-x752-qjv4-c4hc"],"status":"published","title":"Remote code injection in dompdf/dompdf","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).","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.83942,"percentile":0.99695,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-79"],"published":"2022-04-03T00:00:00Z","modified":"2026-10-28T02:30:49Z","exploits":[{"source":"metasploit","id":"exploit/multi/http/dompdf_rce_cve_2022_28368","title":"Dompdf RCE via Malicious Font Caching (CVE-2022-28368)","type":"exploit","platform":"PHP","date":"2022-04-05","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/dompdf_rce_cve_2022_28368"},{"source":"pocgithub","id":"rvzsec/CVE-2022-28368","title":"rvzsec/CVE-2022-28368","date":"2023-02-13","url":"https://github.com/rvzsec/CVE-2022-28368"},{"source":"exploitdb","id":"EDB-51270","title":"Dompdf 1.2.1 - Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2023-04-06","url":"https://www.exploit-db.com/exploits/51270"},{"source":"pocgithub","id":"That-Guy-Steve/CVE-2022-28368-handler","title":"That-Guy-Steve/CVE-2022-28368-handler","date":"2023-04-28","url":"https://github.com/That-Guy-Steve/CVE-2022-28368-handler"},{"source":"pocgithub","id":"Henryisnotavailable/Dompdf-Exploit-RCE","title":"Henryisnotavailable/Dompdf-Exploit-RCE","date":"2023-05-07","url":"https://github.com/Henryisnotavailable/Dompdf-Exploit-RCE"}],"fixes":[{"ecosystem":"Packagist","package":"dompdf/dompdf","fixed_in":["1.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"TuxCare:Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.6"},{"fixed":"0.8.6-p1+tuxcare"}]}],"versions":["0.8.6"],"bundled":8},{"source":"osv","ecosystem":"Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["v0.6.0","v0.6.1","v0.6.2","v0.7.0","v0.7.0-beta","v0.7.0-beta2","v0.7.0-beta3","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.8.4","v0.8.5","v0.8.6","v1.0.0","v1.0.1","v1.0.2","v1.1.0","v1.1.1","v1.2.0"]}],"products":[{"vendor":"dompdf_project","product":"dompdf"}],"references":[{"url":"https://github.com/dompdf/dompdf/issues/2598","tags":["x_transferred","Patch","Third Party Advisory","report","web"]},{"url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://github.com/snyk-labs/php-goof","tags":["x_transferred","Third Party Advisory","package","web"]},{"url":"https://packagist.org/packages/dompdf/dompdf#v1.2.1","tags":["x_transferred","Product","Third Party Advisory","web"]},{"url":"https://github.com/dompdf/dompdf/pull/2808","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28368","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x752-qjv4-c4hc","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28368.json","tags":["advisory"]},{"url":"https://github.com/dompdf/dompdf","tags":["package"]},{"url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce","tags":["web"]}],"sources":{"cve":[{"id":"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).","status":"published","published":"2022-04-03T00:00:00Z","modified":"2024-08-03T05:56:14.887Z","updated_at":"2026-11-02T14:34:39.233406Z"}],"euvd":[{"id":"EUVD-2022-1865","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).","status":"published","published":"2022-04-03T00:00:00Z","modified":"2024-08-03T05:56:14Z","updated_at":"2026-11-03T03:25:41.002Z"}],"ghsa":[{"id":"GHSA-x752-qjv4-c4hc","title":"Remote code injection in dompdf/dompdf","description":"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).","status":"published","published":"2022-04-04T00:00:55Z","modified":"2024-02-06T11:57:13Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:36.076201Z"}],"nvd":[{"id":"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).","status":"published","published":"2022-04-03T03:15:08.117Z","modified":"2026-06-17T04:38:26.51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:14.706146Z"}],"osv":[{"id":"GHSA-x752-qjv4-c4hc","title":"Remote code injection in dompdf/dompdf","description":"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).","status":"published","published":"2022-04-04T00:00:55Z","modified":"2024-02-16T08:01:54.574621Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"CLSA-2025-1766364765","title":"TuxCare security update for dompdf/dompdf (8 CVEs)","description":"TuxCare rebuilt dompdf/dompdf to address 8 CVEs. Fixed in 0.8.6-p1+tuxcare.","status":"published","published":"2026-08-04T14:52:36Z","modified":"2026-10-15T09:48:00.297535956Z","updated_at":"2026-11-02T15:43:42.847264Z"},{"id":"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).","status":"published","published":"2022-04-03T00:00:00Z","modified":"2026-10-28T02:30:49.891061387Z","updated_at":"2026-11-02T15:44:25.164673Z"}]}}
