Critical severity9.8NVD Advisory· Published Nov 15, 2024· Updated Jun 17, 2026
CVE-2021-3902
CVE-2021-3902
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
dompdf/dompdfPackagist | < 2.0.0 | 2.0.0 |
Affected products
3Patches
Vulnerability mechanics
References
4- github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799nvdPatchWEB
- huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1nvdExploitIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-3vjh-xrhf-v9xhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-3902ghsaADVISORY
News mentions
0No linked articles in our index yet.