VDB
Sign up
CRITICAL9.8

GHSA-3vjh-xrhf-v9xh

Improper Restriction of XML External Entity Reference in dompdf/dompdf

Quick fix

GHSA-3vjh-xrhf-v9xh — dompdf/dompdf: upgrade to the fixed version with the command below.

composer require dompdf/dompdf:^2.0.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dompdf/dompdf
Introduced in: 0Fixed in: 2.0.0
Fixcomposer require dompdf/dompdf:^2.0.0

References