CVE-2022-28368Dompdf XSS
Remote code injection in dompdf/dompdf
Published Apr 3, 2022 · Updated Nov 11, 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 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including Dompdf 1.2.1, dompdf/dompdf 0.8.6-p1+tuxcare, dompdf/dompdf 1.2.1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
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)
80%
Higher than 99.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
79/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Sep 24, 2026
1635 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-28368
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2022-28368.yaml
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-28368
- advisoryGHSA advisory
- advisoryhttps://github.com/snyk-labs/php-goof
- advisoryhttps://packagist.org/packages/dompdf/dompdf#v1.2.1
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 |
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
0.8.6-p1+tuxcare, 1.2.1
Timeline
Publicly disclosed
Apr 3, 2022
Added to Industry KEV feed
Sep 24, 2026
Last updated
Nov 11, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorygithub.com · CVE-2022-28368
- advisorynvd.nist.gov · CVE-2022-28368
- advisoryGHSA advisory
- advisorygithub.com · php-goof
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 0.8.6-p1+tuxcare, dompdf/dompdf 1.2.1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-28368 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo