CVE-2023-24813
CRITICALEPSS 83th pctlDescription
Dompdf is an HTML to PDF converter written in php. Due to the difference in the attribute parser of Dompdf and php-svg-lib, an attacker can still call arbitrary URLs with arbitrary protocols. Dompdf parses the href attribute of `image` tags and respects `xlink:href` even if `href` is specified. However, php-svg-lib, which is later used to parse the svg file, parses the href attribute. Since `href` is respected if both `xlink:href` and `href` is specified, it's possible to bypass the protection on the Dompdf side by providing an empty `xlink:href` attribute. An attacker can exploit the vulnerability to call arbitrary URLs with arbitrary protocols if they provide an SVG file to the Dompdf. In PHP versions before 8.0.0, it leads to arbitrary unserialize, which will lead, at the very least, to arbitrary file deletion and might lead to remote code execution, depending on available classes. This vulnerability has been addressed in commit `95009ea98` which has been included in release version 2.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 83% of all known CVEs.
References
Related Vulnerabilities
Other CWE-436 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2026-63030 | Critical | 9.8 | 96% | KEV | Fix |
| CVE-2025-25292 | Critical | 9.8 | 65% | - | Fix |
| CVE-2022-37436 | Medium | 5.3 | 58% | - | Fix |
| CVE-2021-28474 | High | 8.8 | 51% | - | Fix |
| CVE-2025-25291 | Critical | 9.8 | 20% | - | Fix |
| CVE-2019-17596 | High | 7.5 | 4.7% | - | Fix |
Common questions
How do I fix CVE-2023-24813?
Upgrade php-dompdf on debian 12 to 2.0.3+dfsg-1 or later.
Is CVE-2023-24813 being actively exploited?
Not that we know of. CVE-2023-24813 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.5% is the estimated probability that it will be exploited in the next 30 days. That is higher than 83% of all scored CVEs.
How severe is CVE-2023-24813?
CVE-2023-24813 has a CVSS v3 base score of 10.0, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2023-24813 affect?
Published advisories record a fix for php-dompdf (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2023-24813
Markdown
[](https://tridentstack.com/cve/CVE-2023-24813)HTML
<a href="https://tridentstack.com/cve/CVE-2023-24813"><img src="https://tridentstack.com/cve/badge/CVE-2023-24813.svg" alt="CVE-2023-24813"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.