Remote Code Execution in Dompdf by DOM-based CSS Manipulation
CVE-2022-28368
Key Information:
- Vendor
DomPDF Project
- Status
- Vendor
- CVE Published:
- 3 April 2022
Badges
What is CVE-2022-28368?
Dompdf version 1.2.1 is susceptible to remote code execution due to improper handling of Cascading Style Sheets (CSS) in the @font-face rule. By exploiting a vulnerability in the src:url field of CSS statements within an HTML input file, an attacker can potentially execute arbitrary PHP code on the server. This scenario poses significant risk, especially in environments where input data is not properly sanitized. It is crucial for users of this library to review their implementation and apply necessary updates or patches to mitigate the risk associated with this vulnerable version.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
EPSS Score
68% chance of being exploited in the next 30 days.
CVSS V3.1
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved