{"id":"CVE-2026-59943","published":"2026-07-28T20:19:22Z","modified":"2026-07-29T12:37:56Z","title":"Dompdf: Embedded SVG images can leak existence of files and directories within the filesystem","vendor":"dompdf","product":"dompdf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00423,"percentile":0.28333,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0","tags":["x_refsource_MISC"]},{"url":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.67},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"dompdf","affectedVersions":[{"vendor":"dompdf","product":"dompdf","versions":["< 3.1.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T12:37:52.477633Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dompdf/dompdf","vulnerableRanges":["<3.1.6"],"patched":["3.1.6"],"from":["GHSA-j8qw-6jw8-r297"],"provenance":"source"}],"summary":{"text":"Dompdf, the HTML-to-PDF converter for PHP, contains a flaw in its SVG rendering functionality in versions 3.15 and prior, where error behaviour for data-URI embedded SVG images reveals whether files or directories exist on the server's filesystem. An attacker who can supply content for Dompdf to render, with no authentication or user interaction required, can use an image element with href or xlink:href references inside an embedded SVG to probe for filesystem paths and infer their existence.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:40Z"},"euvd":{"id":"EUVD-2026-50027","exploited":false,"provenance":"source"}}