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
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-56716Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-56718AJCloud AJY IPC firmware prior to version 01.10715.11.37 con…7.5
- CVE-2026-56719MikroTik RouterOS before 7.24 contains an out-of-bounds read…6.5
- 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…4.3
- CVE-2026-56721CamaleonCMS version 2.9.2 and earlier contains a privilege e…8.8
- CVE-2026-56723Zammad is a web based open source helpdesk/customer support …7.1
- CVE-2026-56724Zammad is a web based open source helpdesk/customer support …7.1
- CVE-2026-56725Zammad is a web based open source helpdesk/customer support …8.7
- CVE-2026-56726Zammad is a web based open source helpdesk/customer support …5.1
- CVE-2026-56727Zammad is a web based open source helpdesk/customer support …7.1
- CVE-2026-56728Zammad is a web based open source helpdesk/customer support …5.3
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
