GHSA-x752-qjv4-c4hc
Remote code injection in dompdf/dompdf
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | dompdf/dompdf | < 1.2.1 | 1.2.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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).
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-28368
- https://github.com/dompdf/dompdf/issues/2598
- https://github.com/dompdf/dompdf/pull/2808
- https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml
- https://github.com/advisories/GHSA-x752-qjv4-c4hc
- https://github.com/dompdf/dompdf
- https://github.com/snyk-labs/php-goof
- https://packagist.org/packages/dompdf/dompdf#v1.2.1
- https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce
- http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html