CVE-2022-28368Dompdf Project Dompdf
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Dompdf Project · Dompdf Project Dompdf We alert you by email or Slack (account required).
- Priority
- 82
- CVSS 3.1
- 9.8
- EPSS
- 80.4% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Apr 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Dompdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | dompdf/dompdf |
< 1.2.1 |
1.2.1 |
composer require "dompdf/dompdf:^1.2.1" |
Per OSV / GitHub Advisories (GHSA-x752-qjv4-c4hc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dompdf_project | dompdf | < 1.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- packagist.org Product Third Party Advisory
- snyk.io Exploit Third Party Advisory