Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
dompdf dompdf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

dompdf是dompdf团队开源的一个 HTML 到 PDF 的转换器。 dompdf 3.1.6之前版本存在输入验证错误漏洞,该漏洞源于对SVG图像中文件路径验证不足,导致未经身份验证的攻击者可以读取服务器文件系统中的任意图像文件。

CVSS 6.3 · Medium EPSS 0.45% · P37

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery

Affected Version Matrix 1

VendorProduct Version RangeStatus
dompdf dompdf < 3.1.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56722

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dompdf: Local file read due to improper file path validation in SVG images encoded as data-URI
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
dompdf 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
dompdf是dompdf团队开源的一个 HTML 到 PDF 的转换器。 dompdf 3.1.6之前版本存在输入验证错误漏洞,该漏洞源于对SVG图像中文件路径验证不足,导致未经身份验证的攻击者可以读取服务器文件系统中的任意图像文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
dompdf dompdf < 3.1.6 -

II. Public POCs for CVE-2026-56722

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56722

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-56722 (2)

Vendor Advisories for CVE-2026-56722 (1)

Vendor Pages for CVE-2026-56722 (1)

Same Patch Batch · dompdf · 2026-07-28 · 6 CVEs total

CVE-2026-59941 6.3 MEDIUM Dompdf: Uncontrolled resource consumption based on declared BMP dimensions
CVE-2026-59942 6.3 MEDIUM Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
CVE-2026-59943 6.3 MEDIUM Dompdf: Embedded SVG images can leak existence of files and directories within the filesys
CVE-2026-55554 2.3 LOW Dompdf: Chroot Validation Bypass
CVE-2026-55555 2.3 LOW Dompdf: File existence oracle via font-face stylesheet declaration

IV. Related Vulnerabilities

V. Comments for CVE-2026-56722

No comments yet


Leave a comment