CVE-2026-56722
Last modified
CVE-2026-56722 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
Description
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 directory, blocks only the phar:// scheme, and ultimately reads the referenced file with no path or protocol validation. This lets an external, unauthenticated attacker read arbitrary image files from the server's file system in the default configuration. This issue has been fixed in version 3.16.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dompdf Project | Dompdf | < 3.1.6 |
References
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6Release Notes
- https://github.com/dompdf/dompdf/security/advisories/GHSA-cx96-42px-69fmExploit, Vendor Advisory
- https://github.com/dompdf/dompdf/security/advisories/GHSA-cx96-42px-69fmExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-56722?
How severe is CVE-2026-56722?
How do I fix CVE-2026-56722?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56700Grav CMS before 2.0.0-beta.2 contains multiple code-executio…9.8
- CVE-2026-56701Grav before 2.0.0-beta.2 contains an XML external entity inj…7.1
- CVE-2026-5671A vulnerability was determined in Cyber-III Student-Manageme…4.3
- CVE-2026-5672A vulnerability has been found in code-projects Simple IT Di…7.3
- CVE-2026-56720CamaleonCMS version 2.9.2 and earlier contains a missing aut…5.3
- CVE-2026-56721CamaleonCMS version 2.9.2 and earlier contains a privilege e…8.8
- CVE-2026-5673A flaw was found in libtheora. This heap-based out-of-bounds…7.1
- CVE-2026-5674A flaw was found in PipeWire, a multimedia server. This vuln…8.8
- CVE-2026-56740JLine is a Java library for handling console input. Prior to…7.5
- CVE-2026-56741JLine is a Java library for handling console input. Prior to…7.5
- CVE-2026-56742Cilium is a networking, observability, and security solution…8.9
- CVE-2026-56743Cilium is a networking, observability, and security solution…5.4
Are you affected by CVE-2026-56722?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
