CVE-2021-3902

CRITICAL EPSS 55.9%
Published Nov 15, 20241y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Nov 15, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
55.9% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-611

Affected Products 1

VendorProductVersionRange
dompdf_projectdompdf* <2.0.0

References 2

  • github.com https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799
    Patch
  • huntr.com https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1
    ExploitIssue TrackingPatchThird Party Advisory

Remediation

  • github.com https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799
    Patch
  • huntr.com https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1
    ExploitIssue TrackingPatchThird Party Advisory