CVE-2022-28368
CriticalExploitedPublic exploitRemote code injection in dompdf/dompdf
Published Apr 4, 2022 · Updated Aug 12, 2026 · Also known as GHSA-x752-qjv4-c4hc
Key Facts
Patch immediately- CVE-2022-28368 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Dompdf (Dompdf Project), dompdf/dompdf (composer), php-dompdf (debian).
- It is exploited in the wild, listed in Industry KEV feed since Sep 24, 2026. Public exploit code is available.
- EPSS estimates a 83% probability of exploitation in the next 30 days.
- Fixed versions are available, including Dompdf 1.2.1, dompdf/dompdf 1.2.1, php-dompdf 0.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
83%
Higher than 99.6% of all scored CVEs
Exploited in the wild
Yes
1 catalog listing
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-28368 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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).
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Sep 24, 2026 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DompdfDompdf Project | See advisory | 1.2.1 |
| dompdf/dompdfcomposer | See advisory | 1.2.1 |
| php-dompdfdebian | See advisory | 0 |
Patched Releases
Dompdf
1.2.1
dompdf/dompdf
1.2.1
Timeline
Publicly disclosed
Apr 4, 2022
Last updated
Aug 12, 2026
Added to Industry KEV feed
Sep 24, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28368.json
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml
- advisoryhttps://github.com/snyk-labs/php-goof
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-28368
FAQ
Common Questions.
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).
Affected: Dompdf (Dompdf Project); dompdf/dompdf (composer); php-dompdf (debian). The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Sep 24, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Dompdf 1.2.1, dompdf/dompdf 1.2.1, php-dompdf 0.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-28368 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo