CVE-2021-3902

published 15 Nov 2024 · updated 18 Nov 2024

Improper Restriction of XML External Entity Reference in dompdf/dompdf

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
dompdf<2.0.02.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3902 severity on Zeptric[![CVE-2021-3902](https://zeptric.io/badge/cve/CVE-2021-3902.svg)](https://zeptric.io/cve/CVE-2021-3902)