CVE catalog

CVE-2021-3902

php-dompdf: CVE-2021-3902

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.95% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-dompdfsid3.1.4+dfsg-2fixed
Debianphp-dompdfbookworm2.0.3+dfsg-1+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-dompdfsourcesid2.0.2+dfsg-1not yet assignedNot reportedNot reported
Debianphp-dompdfsourcebookworm2.0.2+dfsg-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [php-dompdf]Fixed
    Details (2)
    • 2.0.3+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.0.2+dfsg-1

      dsa · php-dompdf · debian · bookworm; dsa · php-dompdf · debian · 12

    • 2.0.3+dfsg-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.0.2+dfsg-1

      dsa · php-dompdf · debian · bookworm; dsa · php-dompdf · debian · 12

Observed:

References