Skip to main content
VulnerabilityPublished

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

Affects dompdf/dompdfSource GCVE Database

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistdompdf/dompdfAffected
  • <3.1.6
Fixed in
  • 3.1.6

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.

References

Community reviews

Loading reviews…