PHP Remote File Inclusion Affecting dompdf/dompdf package, versions <2.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-DOMPDFDOMPDF-3033151
  • published26 Sept 2022
  • disclosed26 Sept 2022
  • creditBrian Sweeney

Introduced: 26 Sep 2022

CVE-2022-41343  (opens in a new tab)
CWE-98  (opens in a new tab)

How to fix?

Upgrade dompdf/dompdf to version 2.0.1 or higher.

Overview

Affected versions of this package are vulnerable to PHP Remote File Inclusion via registerFont in FontMetrics.php, due to a URI validation failure which does not halt font registration.

CVSS Scores

version 3.1