What’s Vulnerable › Vulnerabilities

CVE-2022-41343: Dompdf allows remote file inclusion because URI validation failure does not halt font registration

Description

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.

Affected products

How to fix

Upgrade to a fixed version: dompdf 2.0.1; Packagist Dompdf/Dompdf 2.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-41343 or the next vulnerability affects your stack