CVE Explorer
CVE-2026-56722
Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, aAn attacker who controls the HTML input can bypass this restriction by embedding a target file path inside an SVG image delivered through a data: URI, because dompdf processes the SVG twice and the second pass does not enforce the same protections as the first. When rendering, dompdf hands the SVG to the separate php-svg-lib library with external references forced on, and that library has no knowledge of the chroot dire
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dompdf","vendor":"dompdf","versions":[{"status":"affected","version":"< 3.1.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/commit/6a58996865db05d8fede748507e50ac4b8c5bfd0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/references/1
{"name":"https://github.com/dompdf/dompdf/commit/bf7b02f642e26007dedc5a22b3d6e15f9931120a","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/commit/bf7b02f642e26007dedc5a22b3d6e15f9931120a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/references/2
{"name":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6","tags":["x_refsource_MISC"],"url":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/references/3
{"tags":["exploit"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-cx96-42px-69fm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/adp/0/references/0
{"name":"https://github.com/dompdf/dompdf/security/advisories/GHSA-cx96-42px-69fm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-cx96-42px-69fm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e95962b62302c51060b9bb5ba30ae34c0ad44e9d1b903a3672290345ac4f4699 · sha256:783f45c44d6ee1dd… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.