Approved changes feed: RSS · Atom

cpe:2.3:a:dompdf:dompdf:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorDompdf (84f6aade-1b95-5ada-b4cd-20e8f3848929)
ProductDompdf (665d5f73-8352-53c1-a964-8f4fb7dae2b4)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:composer/dompdf/dompdf purl2cpe 2026-06-01 10:13:29.003652
pkg:github/dompdf/dompdf purl2cpe 2026-06-01 10:13:29.003655

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2023-50262 vulnerable 2026-06-08 06:16:15.854917 Dompdf possible DoS caused by infinite recursion when parsing SVG images
MEDIUM (5.3)
Dompdf is an HTML to PDF converter for PHP. When parsing SVG images Dompdf performs an initial validation to ensure that paths within the SVG are allowed. One of the validations is that the SVG document does not reference itself. However, prior to version 2.0.4, a recursive chained using two or more SVG documents is not correctly validated. Depending on the system configuration and attack pattern this could exhaust the memory available to the executing process and/or to the server itself. php-svg-lib, when run in isolation, does not support SVG references for `image` elements. However, when used in combination with Dompdf, php-svg-lib will process SVG images referenced by an `image` element. Dompdf currently includes validation to prevent self-referential `image` references, but a chained reference is not checked. A malicious actor may thus trigger infinite recursion by chaining references between two or more SVG images. When Dompdf parses a malicious payload, it will crash due after exceeding the allowed execution time or memory usage. An attacker sending multiple request to a system can potentially cause resource exhaustion to the point that the system is unable to handle incoming request. Version 2.0.4 contains a fix for this issue.
Published: 2023-12-13T20:52:56.173Z
Updated: 2024-08-02T22:16:46.642Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24813 vulnerable 2026-06-08 05:56:06.269664 URI validation failure on SVG parsing. Bypass of CVE-2023-23924
CRITICAL (10)
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.
Published: 2023-02-07T18:05:14.541Z
Updated: 2025-03-10T21:15:40.002Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-23924 vulnerable 2026-06-08 05:56:04.808214 URI validation failure on SVG parsing in Dompdf
CRITICAL (10)
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: 2023-01-31T23:54:30.162Z
Updated: 2025-03-10T21:17:31.944Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.