ADVISORIES

Vulnerability

CVE-2021-3902

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.

2 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Debian 1Packagist 1

Advisories

  • DEBIAN-CVE-2021-3902

    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.…

    CVE-2021-3902 Debian Updated 23 October 2026
  • GHSA-3vjh-xrhf-v9xh

    Improper Restriction of XML External Entity Reference in dompdf/dompdf

    Critical CVE-2021-3902 Packagist Updated 18 November 2024

References