CVE-2026-59943: Dompdf · Embedded SVG images can leak existence of files and directories within the filesystem
Affects dompdf/dompdfSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.1.6 when convenient.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.6
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade dompdf/dompdf to 3.1.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistdompdf/dompdf | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in dompdf version 3.1.6 and later. Users should upgrade to version 3.1.6 or newer to remediate this vulnerability. Until upgraded, restrict or sanitize any user-supplied SVG content to prevent embedding of file:// URIs. No vendor advisory was provided, so check the official dompdf release notes or repository for patch confirmation.
Description
Dompdf versions prior to 3.1.6 contain a vulnerability where embedded SVG images using data-URI encoding can leak information about the existence of files and directories on the backend filesystem. This occurs because the SVG <image> element referencing local files behaves differently when the file exists versus when it does not, allowing an attacker to infer filesystem structure. The vulnerability does not disclose file contents but confirms presence or absence of files or directories.