# CVE-2023-50252: php-dompdf-svg-lib: php-svg-lib is an SVG file parsing / rendering library

CVE-2023-50252 is fixed in php-dompdf-svg-lib on 1 platform by DEBIAN-CVE-2023-50252 (version 0.5.0-3+deb12u1), released December 12, 2023. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2023-50252
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.2390
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 12, 2023

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | php-dompdf-svg-lib Debian 12.15 (bookworm) | 0.5.0-3+deb12u1 | [DEBIAN-CVE-2023-50252](https://patchblox.com/security/data/fix/linux/debian-cve-2023-50252.md) | Dec 12, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
