{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3902","id":"CVE-2021-3902","title":"Improper Restriction of XML External Entity Reference in dompdf/dompdf","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 deserializat","descriptionLong":"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.","published":"2024-11-15T10:52:10.986Z","updated":"2026-10-20T10:54:52.236062164Z","reserved":"2021-10-24T23:38:52.192Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"}],"rating":"critical","products":["dompdf/dompdf"],"affectedProducts":[{"vendor":"dompdf","product":"dompdf/dompdf","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"2.0.0","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"dompdf/dompdf","purl":"pkg:composer/dompdf/dompdf","ranges":["<2.0.0"],"fixed":["2.0.0"],"advisory":"GHSA-3vjh-xrhf-v9xh"}],"cwes":["CWE-611"],"aliases":["GHSA-3vjh-xrhf-v9xh"],"references":[{"url":"https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799","tags":["Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3902","tags":["advisory"]},{"url":"https://github.com/dompdf/dompdf","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00951,"epssPercentile":0.61971,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3902","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3902","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3902","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3vjh-xrhf-v9xh","ok":true,"note":"GHSA-3vjh-xrhf-v9xh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3902","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}