CVE-2021-3902
Description
An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for Server-Side Request Forgery (SSRF) and deserialization attacks. This issue affects all versions prior to 2.0.0. The vulnerability can be exploited even if the isRemoteEnabled option is set to false. It allows attackers to perform SSRF, disclose internal image files, and cause PHAR deserialization attacks.
How to fix
- dompdf_project dompdf2.0.0 or later
- dompdf/dompdf2.0.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dompdf_project dompdf | v < 2.0.0 | 2.0.0 |
| dompdf/dompdfPackagist | v < 2.0.0 | 2.0.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.