Vulnerabilities (CVE)

Filtered by vendor Dompdf Subscribe
Filtered by product Php-svg-lib
Total 2 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2023-50251 1 Dompdf 1 Php-svg-lib 2023-12-15 N/A 7.5 HIGH
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a `use` tag inside an svg document, an attacker can cause the system to go to an infinite recursion. Depending on the system configuration and attack pattern this could exhaust the memory available to the executing process and/or to the server itself. An attacker sending multiple request to a system to render the above payload can potentially cause resource exhaustion to the point that the system is unable to handle incoming request. Version 0.5.1 contains a patch for this issue.
CVE-2023-50252 1 Dompdf 1 Php-svg-lib 2023-12-15 N/A 9.8 CRITICAL
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially when the `href` attribute from the `<use>` tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a patch for this issue.