CVE-2021-3902

Improper Restriction of XML External Entity Reference in dompdf/dompdf

Published Nov 15, 2024 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3187 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.
Github GHSA Github GHSA GHSA-3vjh-xrhf-v9xh Improper Restriction of XML External Entity Reference in dompdf/dompdf
History
Type Values Removed Values Added
First Time appeared Dompdf Project
Dompdf Project dompdf
CPEs cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
Vendors & Products Dompdf Project
Dompdf Project dompdf
Type Values Removed Values Added
First Time appeared Dompdf
Dompdf dompdf
CPEs cpe:2.3:a:dompdf:dompdf:*:beta3:*:*:*:*:*:*
Vendors & Products Dompdf
Dompdf dompdf
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Improper Restriction of XML External Entity Reference in dompdf/dompdf
Weaknesses CWE-611
References
Metrics cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Nov 18, 2024, 2:35 PM
Reserved
Oct 24, 2021, 11:38 PM
Status
Analyzed
Published
Nov 15, 2024, 11:15 AM
Modified
Jun 17, 2026, 4:05 AM