External Control of File Name or Path Affecting dompdf/dompdf package, versions <2.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.08% (34th percentile)
Expand this section
NVD
5.3 medium

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 ID SNYK-PHP-DOMPDFDOMPDF-2953235
  • published 19 Jul 2022
  • disclosed 19 Jul 2022
  • credit haxatron

How to fix?

Upgrade dompdf/dompdf to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path due to insufficient URI validation in src/Image/Cache.php, which allows an attacker to retrieve image files from the affected system.