CVE-2026-59943
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.
Weakness
- CWE-209: Generation of Error Message Containing Sensitive Information
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-29 |
Timeline
- 2026-07-22GitHub advisory published (GHSA-j8qw-6jw8-r297)6 days before publication
- 2026-07-28Published by the CNA20:19 UTC
- 2026-07-29CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-j8qw-6jw8-r297, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist dompdf/dompdf | before 3.1.6 | 3.1.6 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| dompdf_project dompdf | before 3.1.6fixed in 3.1.6 | 3.1.6 |
References
- https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0
- https://github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-59943'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-59943'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-59943'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-59943'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).