VDB
Sign up
HIGH7.5

GHSA-6x28-7h8c-chx4

Dompdf allows remote file inclusion because URI validation failure does not halt font registration

Quick fix

GHSA-6x28-7h8c-chx4 — dompdf/dompdf: upgrade to the fixed version with the command below.

composer require dompdf/dompdf:^2.0.1

Details

`registerFont` in `FontMetrics.php` in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font registration, as demonstrated by a `@font-face` rule.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References