cve.bz

CVE-2023-23924 dompdf project dompdf: Incorrect Authorization

9.8 criticalExploit referenceEPSS 3.7%Fix available

Critical (9.8) in dompdf project dompdf. EPSS 3.7% estimated probability of exploitation activity in the next 30 days. Fixed in dompdf/dompdf 2.0.2.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-863 Incorrect Authorization
CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-23924 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-23924?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-23924?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-23924 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dompdf_project:dompdf2.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3cw5-7cxw-v5qgPackagistdompdf/dompdf<2.0.22.0.2

References

Check your stackJSON