CVE-2022-28368
CRITICAL
Published Apr 3, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Apr 3, 2022 4y ago
Last Modified Jun 17, 2026 2w ago
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).
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| dompdf_project | dompdf | * | <1.2.1 |
References 7
- packetstormsecurity.com http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
- github.com https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
- github.com https://github.com/dompdf/dompdf/issues/2598
- github.com https://github.com/dompdf/dompdf/pull/2808
- github.com https://github.com/snyk-labs/php-goof
- packagist.org https://packagist.org/packages/dompdf/dompdf#v1.2.1
- snyk.io https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/
Remediation
- github.com https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
- github.com https://github.com/dompdf/dompdf/issues/2598
- github.com https://github.com/dompdf/dompdf/pull/2808