CVE-2022-28368
CRITICAL 9.8CVSS 3.1Remote code injection in dompdf/dompdf
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).
- Published
- 3 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-x752-qjv4-c4hc
- Sources
- NVDJSONOSV GHSA-x752-qjv4-c4hcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dompdf_project | dompdfcpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* |
< 1.2.1 | 1.2.1 |
| OSV | Packagist | dompdf/dompdf | < 1.2.1 | 1.2.1 |
References
- http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html · WEB
- https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d · Patch, Third Party Advisory, WEB
- https://github.com/dompdf/dompdf/issues/2598 · Patch, Third Party Advisory, WEB
- https://github.com/dompdf/dompdf/pull/2808 · Patch, Third Party Advisory, WEB
- https://github.com/snyk-labs/php-goof · Third Party Advisory, WEB
- https://packagist.org/packages/dompdf/dompdf#v1.2.1 · Product, Third Party Advisory, WEB
- https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28368 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml · WEB
- https://github.com/advisories/GHSA-x752-qjv4-c4hc · ADVISORY
- https://github.com/dompdf/dompdf · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Apr 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 4 Apr 2022)