All reports
Critical

Improper Restriction of XML External Entity Reference in dompdf/dompdf

Affected versions

Affected versions
< 2.0.0
Fixed version
2.0.0

Exploitation

CVE-2021-3902

Probability of exploitation in the next 30 days: 0.95%

FIRST EPSS · 2026-11-19

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.

Links