CVE-2022-28368
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).
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 83.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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).
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 83.94% probability · 100th percentile
- Public exploits
- 1 in Exploit-DB · first 6 April 2023
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- dompdf project/dompdf
- Source
- cve@mitre.org
EPSS moved from 83.9% on 25 October 2026 to 83.9% on 3 November 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
- https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141dPatch, Third Party Advisory
- https://github.com/dompdf/dompdf/issues/2598Patch, Third Party Advisory
- https://github.com/dompdf/dompdf/pull/2808Patch, Third Party Advisory
- https://github.com/snyk-labs/php-goofThird Party Advisory
- https://packagist.org/packages/dompdf/dompdf#v1.2.1Product, Third Party Advisory
- https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
- https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141dPatch, Third Party Advisory
- https://github.com/dompdf/dompdf/issues/2598Patch, Third Party Advisory
- https://github.com/dompdf/dompdf/pull/2808Patch, Third Party Advisory
- https://github.com/snyk-labs/php-goofThird Party Advisory
- https://packagist.org/packages/dompdf/dompdf#v1.2.1Product, Third Party Advisory
- https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.