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).
https://packagist.org/packages/dompdf/dompdf#v1.2.1
https://github.com/snyk-labs/php-goof
https://github.com/dompdf/dompdf/pull/2808
https://github.com/dompdf/dompdf/issues/2598
https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/
http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
Source: Mitre, NVD
Published: 2022-04-03
Updated: 2026-06-17
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.82438