{"id":"CVE-2022-28368","published":"2022-04-03T00:00:00Z","modified":"2024-08-03T05:56:14Z","title":"Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"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).","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in Dompdf version 1.2.1, an HTML-to-PDF rendering library, where the handling of the src:url field within an @font-face CSS statement in HTML input can be abused. An attacker who can supply an HTML input file that references a .php file through that field can achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:16:17Z"},"cvss":null,"epss":{"score":0.83942,"percentile":0.99699,"date":"2026-11-19","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-24","exploitedFirstSeen":"2026-09-24","ransomware":false,"evidence":[{"url":"https://socradar.io/blog/operation-master-intrusion-monetization-pipeline/","date":"2026-09-24"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Operation Master: Deconstructing a Multi-Tiered Intrusion and Monetization Pipeline","url":"https://otx.alienvault.com/pulse/6aba46a30e26418fb09c6000","created":"2026-09-28"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/dompdf/dompdf/issues/2598","tags":[]},{"url":"https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/","tags":[]},{"url":"https://github.com/snyk-labs/php-goof","tags":[]},{"url":"https://packagist.org/packages/dompdf/dompdf#v1.2.1","tags":[]},{"url":"https://github.com/dompdf/dompdf/pull/2808","tags":[]},{"url":"https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d","tags":[]},{"url":"http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"dompdf/dompdf","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"from":["GHSA-x752-qjv4-c4hc"],"provenance":"source"}],"advisories":[{"id":"GHSA-x752-qjv4-c4hc","url":"https://github.com/advisories/GHSA-x752-qjv4-c4hc","severity":"CRITICAL","ecosystem":"Packagist","package":"dompdf/dompdf","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-1865","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1865","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":51270,"url":"https://www.exploit-db.com/exploits/51270","title":"Dompdf 1.2.1 - Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2023-04-06","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-04-06"},"pocGithub":{"count":3,"skipped":0,"earliest":"2023-02-13","earliestUrl":"https://github.com/rvzsec/CVE-2022-28368","repos":[{"name":"rvzsec/CVE-2022-28368","url":"https://github.com/rvzsec/CVE-2022-28368","stars":16,"created":"2023-02-13"},{"name":"That-Guy-Steve/CVE-2022-28368-handler","url":"https://github.com/That-Guy-Steve/CVE-2022-28368-handler","stars":0,"created":"2023-04-28"},{"name":"Henryisnotavailable/Dompdf-Exploit-RCE","url":"https://github.com/Henryisnotavailable/Dompdf-Exploit-RCE","stars":0,"created":"2023-05-07"}]},"metasploit":[{"name":"Dompdf RCE via Malicious Font Caching (CVE-2022-28368)","module":"exploit/multi/http/dompdf_rce_cve_2022_28368","type":"exploit","disclosureDate":"2022-04-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dompdf_rce_cve_2022_28368.rb"}],"first":{"date":"2022-04-05","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dompdf_rce_cve_2022_28368.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2022-04-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-28368","provenance":"source"},{"date":"2022-04-05","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2023-02-13, Exploit-DB 2023-04-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dompdf_rce_cve_2022_28368.rb","provenance":"source"},{"date":"2026-09-24","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://socradar.io/blog/operation-master-intrusion-monetization-pipeline/","provenance":"source"}],"speed":{"daysToPublicExploit":2,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":70.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 57 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9970"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 3 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-dompdf-dompdf-cve-2022-28368","children":[{"from":"CVE-2022-28368","to":"CVE-2021-3838","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/FontMetrics.php"],"commits":["https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d"],"basis":"shared function","functions":["registerFont"]}]},{"from":"CVE-2022-28368","to":"CVE-2022-2400","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/FontMetrics.php"],"commits":["https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d"],"basis":"shared function","functions":["registerFont"]}]},{"from":"CVE-2022-28368","to":"CVE-2022-41343","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/FontMetrics.php"],"commits":["https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d","https://github.com/dompdf/dompdf/commit/66431c58017d5b1bdb9f6f772b9fbbc5e3d38dc2"],"basis":"shared function","functions":["registerFont"]}]}]}}