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


0.0
medium
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    Low

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.