CVE-2022-41343

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductDompdf
PublishedSep 25, 2022
First seenSep 25, 2022
Weakness typeCWE-552CWE-552

How to fix

Update
  • dompdf_project dompdf2.0.1 or later
  • dompdf/dompdf2.0.1 or later

Affected products

ProductAffected versionsFixed in
dompdf_project dompdfv < 2.0.12.0.1
dompdf/dompdfPackagistv < 2.0.12.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.