DomPDF before version 2.0.0 is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade php-dompdf | Jul 17, 2023 | Jul 17, 2023 |
| Echo Linux | — | Upgrade php-dompdf | Nov 12, 2026 | Nov 15, 2024 |
| Ubuntu | — | Upgrade php-dompdfUpgrade php-dompdf (Ubuntu Pro) | Aug 9, 2023 | Aug 8, 2023 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub