Advisory record · GHSA-cx96-42px-69fm

Dompdf: Local file read due to improper file path validation in SVG images encoded as data-URI

CVSS 6.3 MediumEPSS 0.0045 · 39th percentile

Published by the GitHub Advisory Database at 22 Jul 2026, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
dompdf/dompdfPackagist<3.1.63.1.6
Identifiers
GHSA-cx96-42px-69fm · CVE-2026-56722 · PKSA-mwt3-h9tv-kx78
Weakness (CWE)
CWE-20 · CWE-22
Published
22 Jul 2026
Updated
22 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Dompdf versions before 3.1.6 are vulnerable to local file read through SVG images embedded as data URIs. An external attacker who can supply HTML input to dompdf can read arbitrary image files from the server's file system, bypassing the chroot restriction, and the file contents are embedded into the generated PDF. Upgrade to dompdf 3.1.6 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0045, the 39th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.