Security mailing lists by PureSourceCode

CVE-2023-23924

CRITICAL 9.8CVSS 3.1

Dompdf vulnerable to URI validation failure on SVG parsing

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.

Published
1 Feb 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-551CWE-863
Also known as
GHSA-3cw5-7cxw-v5qg
Sources
NVDJSONOSV GHSA-3cw5-7cxw-v5qgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD dompdf_project dompdf
cpe:2.3:a:dompdf_project:dompdf:2.0.1:*:*:*:*:*:*:*
= 2.0.1
OSV Packagist dompdf/dompdf < 2.0.2 2.0.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 1 Feb 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.