Information Exposure Affecting dompdf/dompdf package, versions <3.1.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-18306797
  • published25 Jul 2026
  • disclosed22 Jul 2026
  • creditUnknown

Introduced: 22 Jul 2026

NewCVE-2026-59943  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade dompdf/dompdf to version 3.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure via the processing of embedded SVG images containing <image> elements with xlink:href attributes referencing local files or directories. An attacker can determine the existence of files or directories on the server by observing differences in rendering behavior when referencing valid versus invalid filesystem paths.

CVSS Base Scores

version 4.0
version 3.1