# CVE-2026-59943: Dompdf: Embedded SVG images can leak existence of files and directories within the filesystem

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-22T22:52:44.000Z
- Modified: 2026-08-04T15:21:31.393Z
- Also known as: GHSA-j8qw-6jw8-r297
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- dompdf dompdf: < 3.1.6
- dompdf/dompdf (Packagist): before 3.1.6
- dompdf_project dompdf: before 3.1.6

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297> (exploit, third-party-advisory, web)
- <https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0> (patch, web)
- <https://github.com/dompdf/dompdf/releases/tag/v3.1.6> (release-notes, web)
- <https://github.com/dompdf/dompdf> (package)

## Sources

- CVE List: [CVE-2026-59943](https://www.cve.org/CVERecord?id=CVE-2026-59943), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-j8qw-6jw8-r297](https://github.com/advisories/GHSA-j8qw-6jw8-r297), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-59943](https://nvd.nist.gov/vuln/detail/CVE-2026-59943), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-59943 · Whole record: https://cve.day/CVE-2026-59943.json · Rebuilt by cve.day 2026-11-25T22:59:30.384Z
