CVE-2021-3902 CRITICAL

CVE-2021-3902: Improper Restriction of XML External Entity Reference in dompdf/dompdf

Vendor Dompdf
Product dompdf/dompdf
Weakness CWE-611 · XXE
Published November 15, 2024
Last update November 18, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 15, 2024 CVE published
November 18, 2024 Record updated