CVE-2026-59943Dompdf Project Dompdf
Medium 6.3 No auth needed
Follow: this CVE · Dompdf Project · Dompdf Project Dompdf We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 28, 2026
- Updated
- Aug 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-209
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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
What happens
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.
What to do
- Apply the vendor's security update for Dompdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | dompdf/dompdf |
< 3.1.6 |
3.1.6 |
composer require "dompdf/dompdf:^3.1.6" |
Per OSV / GitHub Advisories (GHSA-j8qw-6jw8-r297). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dompdf_project | dompdf | < 3.1.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Third Party Advisory