Critical severity · published Nov 15, 2024
CVE-2021-3902
Improper Restriction of XML External Entity Reference in dompdf/dompdf
9.8
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DO
dompdf/dompdf · dompdf
before 2.0.0 · source: vendor
DO
Dompdf · Dompdf Project
before 2.0.0 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3902
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3902
Patch
https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799
Exploit
https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1
More from dompdf/dompdf
9.8
CVE-2021-3838
PHAR Deserialization in dompdf/dompdf
