Remote Code Execution (RCE) Affecting dompdf/dompdf package, versions <1.2.1


0.0
high

Snyk CVSS

    Attack Complexity High
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 13.69% (96th percentile)
Expand this section
NVD
9.8 critical

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-2428942
  • published 17 Mar 2022
  • disclosed 17 Mar 2022
  • credit MAXIMILIAN KIRCHMEIER, FABIAN BRÄUNLEIN

How to fix?

Upgrade dompdf/dompdf to version 1.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) by injecting CSS into the data. The file can be tricked into storing a malicious font with a .php file extension in its font cache, which can later be executed by accessing it from the web.