CVE-2021-3902

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductDompdf
PublishedNov 15, 2024
First seenNov 15, 2024

How to fix

Update
  • dompdf_project dompdf2.0.0 or later
  • dompdf/dompdf2.0.0 or later

Affected products

ProductAffected versionsFixed in
dompdf_project dompdfv < 2.0.02.0.0
dompdf/dompdfPackagistv < 2.0.02.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.