CVE-2023-23924 json
URI validation failure on SVG parsing in Dompdf
published 2023-01-31 3 y ago modified 2026-09-10 1 mo ago also GHSA-3cw5-7cxw-v5qg , EUVD-2023-0610
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist dompdf/dompdf 2.0.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
3.57% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | dompdf/dompdf | <2.0.2 |
2.0.2 |
Affected products
- dompdf dompdf
Classification
References
-
github.com
/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85
web, patch, third-party-advisory
-
github.com
/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg
web, exploit, third-party-advisory
-
github.com
/dompdf/dompdf/releases/tag/v2.0.2
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-23924
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2023-23924.yaml
web
-
github.com
/advisories/GHSA-3cw5-7cxw-v5qg
advisory
-
github.com
/dompdf/dompdf
package
Sources
- CVE List CVE-2023-23924
- GitHub Advisory GHSA-3cw5-7cxw-v5qg
- NVD CVE-2023-23924
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.