Skip to main content
← All vulnerabilities
CVE-2026-59943GHSA-J8QW-6JW8-R297

Dompdf: Embedded SVG images can leak existence of files and directories within the filesystem

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, if a malicious actor can supply unrestricted content for rendering by Dompdf they can utilize the SVG rendering functionality to leak filesystem information when rendering PDF files using image references within a data-URI encoded SVG document. Using an <image> element inside a data-URI embedded SVG, an attacker can attempt to embed other files via the href or xlink:href attributes. When processing a file that does not exist (e.g. file:///DOESNOTEXIST), dompdf behaves differently than it does when accessing a file or directory that actually exists on the filesystem. This issue has been fixed in version 3.16.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • dompdf dompdf

    fixed in 3.1.6

  • dompdf/dompdfPackagist

    fixed in 3.1.6

References 3

GitHub · dompdf/dompdf