Read the docs
TI-2023-09722 Aliases CVE-2023-23924GHSA-3cw5-7cxw-v5qg

URI validation failure on SVG parsing in Dompdf

Priority HIGH 82CWE-551Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · Low · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.

Summary

Dompdf is an HTML to PDF converter. The URI validation on dompdf 2.0.1 can be bypassed on SVG parsing by passing `<image>` tags with uppercase letters. This may lead to arbitrary object unserialize on PHP < 8, through the `phar` URL wrapper. An attacker can exploit the vulnerability to call arbitrary URL with arbitrary protocols, if they can provide a SVG file to dompdf. In PHP versions before 8.0.0, it leads to arbitrary unserialize, that will lead to the very least to an arbitrary file deletion and even remote code execution, depending on classes that are available.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03572 89th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed dompdf (dompdf): 2.0.2dompdf/dompdf (Packagist): 2.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dompdfdompdfbefore 2.0.22.0.2Patch availableCNA
—dompdf/dompdf (Packagist)before 2.0.22.0.2Patch availableGHSA-3cw5-7cxw-v5qg
  • dompdf Vendordompdf Affected before 2.0.2 Fixed in 2.0.2 Patch available CNA
  • dompdf/dompdf (Packagist) Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available GHSA-3cw5-7cxw-v5qg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dompdf_project:dompdf:2.0.1:*:*:*:*:*:*:*2.0.1VulnerableDompdf Project
  • cpe:2.3:a:dompdf_project:dompdf:2.0.1:*:*:*:*:*:*:* Versions 2.0.1 Vulnerable ·Dompdf Project

Remediation

  • Fix · CNA dompdf (dompdf) Fixed in 2.0.2
  • Fix · GHSA-3cw5-7cxw-v5qg dompdf/dompdf (Packagist) Fixed in 2.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-23924
  2. 2026-10-03 Alias added: GHSA-3cw5-7cxw-v5qg

References

  • TI-2023-10313 URI validation failure on SVG parsing. Bypass of CVE-2023-23924 CVSS 3.1CRITICAL 10.0
  • TI-2021-02812 Improper Restriction of XML External Entity Reference in dompdf/dompdf CVSS 3.1CRITICAL 9.8
  • TI-2021-02769 PHAR Deserialization in dompdf/dompdf CVSS 3.1CRITICAL 9.8
  • TI-2024-16571 php-svg-lib lacks path validation on font through SVG inline styles CVSS 3.1CRITICAL 9.8
  • TI-2023-27479 php-svg-lib possible DoS caused by infinite recursion when parsing SVG document CVSS 3.1HIGH 7.5
  • TI-2026-42749 Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps CVSS 4.0MEDIUM 6.3
See all 16 →

Sources