CVE-2026-59943
PoC massFilesystem info disclosure in Dompdf 3.15 and earlier via SVG image references
Dompdf, an open-source PHP library that converts HTML to PDF, leaks information about the server filesystem when it renders PDFs from attacker-supplied content. If an application lets a user influence the HTML passed to Dompdf, the attacker can embed a data-URI encoded SVG containing image elements whose href or xlink:href attributes point at file:// paths; Dompdf responds differently when the referenced file or directory exists than when it does not, turning the renderer into an oracle for probing the host filesystem. An attacker gains low-impact disclosure of filesystem information (which files, directories, and paths exist on the server), which can aid reconnaissance and enable further attacks. Applications using Dompdf 3.15 or earlier are affected, and the vendor fixed the issue in version 3.16. No exploitation in the wild is reported (not in CISA KEV), but a public advisory with a proof of concept is available and EPSS estimates roughly a 0.3% chance of near-term exploitation.
What to do: Upgrade dompdf/dompdf to version 3.16 or later, checking composer.lock and any vendored or bundled copies shipped inside plugins and applications. Until patched, do not pass untrusted user-controlled HTML/SVG content to Dompdf, and restrict or disable SVG image references and local/remote file access where the library configuration allows. Prioritize auditing applications that render user-supplied content, since the flaw is only exploitable when attackers can influence what is rendered.
| dompdf project dompdf | 3.15 and all prior versions (fixed in 3.16) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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 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.
- Vendors
- dompdf project
- Products
- dompdf
- Weakness
- CWE-209
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.