{"api_version":"1","generated_at":"2026-07-23T14:34:13+00:00","cve":"CVE-2023-23924","urls":{"html":"https://cve.report/CVE-2023-23924","api":"https://cve.report/api/cve/CVE-2023-23924.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-23924","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-23924"},"summary":{"title":"CVE-2023-23924","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-01 00:15:00","updated_at":"2023-11-07 04:08:00"},"problem_types":["CWE-863"],"metrics":[],"references":[{"url":"https://github.com/dompdf/dompdf/releases/tag/v2.0.2","name":"https://github.com/dompdf/dompdf/releases/tag/v2.0.2","refsource":"MISC","tags":[],"title":"Release Dompdf 2.0.2 · dompdf/dompdf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85","name":"https://github.com/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85","refsource":"MISC","tags":[],"title":"SVG parsing - comparing the tag name in a case insensitive way · dompdf/dompdf@7558f07 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg","name":"https://github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg","refsource":"MISC","tags":[],"title":"URI validation failure on SVG parsing · Advisory · dompdf/dompdf · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-23924","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23924","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"23924","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"dompdf_project","cpe5":"dompdf","cpe6":"2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-23924","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-551: Incorrect Behavior Order: Authorization Before Parsing and Canonicalization","cweId":"CWE-551"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"dompdf","product":{"product_data":[{"product_name":"dompdf","version":{"version_data":[{"version_value":"< 2.0.2","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg","refsource":"MISC","name":"https://github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg"},{"url":"https://github.com/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85","refsource":"MISC","name":"https://github.com/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85"},{"url":"https://github.com/dompdf/dompdf/releases/tag/v2.0.2","refsource":"MISC","name":"https://github.com/dompdf/dompdf/releases/tag/v2.0.2"}]},"source":{"advisory":"GHSA-3cw5-7cxw-v5qg","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-01 00:15:00","lastModifiedDate":"2023-11-07 04:08:00","problem_types":["CWE-863"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:dompdf_project:dompdf:2.0.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}