Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dompdf Project | Dompdf | < 3.1.6 |
Related Weaknesses (CWE)
References
- https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0Patch
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6Release Notes
- https://github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297ExploitThird Party Advisory
- https://github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297ExploitThird Party Advisory
FAQ
What is CVE-2026-59943?
CVE-2026-59943 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2026-59943?
CVE-2026-59943 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59943?
Check the references section above for vendor advisories and patch information. Affected products include: Dompdf Project Dompdf.