GHSA-3vjh-xrhf-v9xh · Severity: critical · Ecosystem: composer — Improper Restriction of XML External Entity Reference in dompdf/dompdf
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.
Conclusion & alert: CVE-2021-3902 is rated High Exploit Risk (86.9/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 5.09%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.28% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-06 | 3.81% | 5.09% | +1.28% |
| 2 | 2026-03-04 | 1.09% | 3.81% | +2.72% |
| 3 | 2026-03-01 | — | 1.09% | — |
Full EPSS history (41 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-3vjh-xrhf-v9xh · Severity: critical · Ecosystem: composer — Improper Restriction of XML External Entity Reference in dompdf/dompdf
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2021-3902 unimportant priority: Debian including 1 source packages (php-dompdf), 3 status rows across 3 suites (bookworm, bullseye, sid): resolved 3. | https://security-tracker.debian.org/tracker/CVE-2021-3902 |
ubuntu
|
medium | CVE-2021-3902 medium priority: Ubuntu including 1 source packages (php-dompdf), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): not-affected 5, DNE 1, ignored 1, released 1. | https://ubuntu.com/security/CVE-2021-3902 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| dompdf_project | dompdf | < 2.0.0 | cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799 | Patch |
| https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1 | Exploit Issue Tracking Patch Third Party Advisory |