
CVE catalog
CVE-2021-3902
php-dompdf: CVE-2021-3902
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-dompdf | sid | 3.1.4+dfsg-2 | fixed |
| Debian | php-dompdf | bookworm | 2.0.3+dfsg-1+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-dompdf | source | sid | 2.0.2+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | php-dompdf | source | bookworm | 2.0.2+dfsg-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-dompdf]Fixed
Details (2)
2.0.3+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
2.0.2+dfsg-1dsa · php-dompdf · debian · bookworm; dsa · php-dompdf · debian · 12
2.0.3+dfsg-1+deb12u1· all · bookwormFixed · Fixed:
2.0.2+dfsg-1dsa · php-dompdf · debian · bookworm; dsa · php-dompdf · debian · 12
Observed: