CVE-2023-23924
published critical CVSS 3.1 · 10.0URI validation failure on SVG parsing in Dompdf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dompdf | — | dompdf< 2.0.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dompdf | dompdf | < 2.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-551 CWE-551: Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
References
3Provider assertions
3GitHub_M · cna
URI validation failure on SVG parsing in Dompdf
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a63e0dab43c628995e7cf690baa9cf1d4d9da4f3e405a036c3e5c66d30d3fdbf
- Ingested
- 23 Sep 2026, 08:06:35 UTC
- Source record
- Official CVE record