Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. dompdf/dompdf
  4. ›
  5. CVE-2026-59943

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

July 22, 2026

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.

References

  • github.com/advisories/GHSA-j8qw-6jw8-r297
  • github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0
  • github.com/dompdf/dompdf/releases/tag/v3.1.6
  • github.com/dompdf/dompdf/security/advisories/GHSA-j8qw-6jw8-r297
  • nvd.nist.gov/vuln/detail/CVE-2026-59943

Code Behaviors & Features

Detect and mitigate CVE-2026-59943 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.6

Fixed versions

  • 3.1.6

Solution

Upgrade to version 3.1.6 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

packagist/dompdf/dompdf/CVE-2026-59943.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 19 Aug 2026 12:27:17 +0000.