CVE-2023-50252: php-svg-lib is an SVG file parsing / rendering library
CVE-2023-50252 is a high-severity flaw (CVSS 8.3) affecting php-svg-lib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 p
Why this priority
- High severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-50252?
php-svg-lib: upgrade to 0.5.1. Exact commands for each OS are on this page.
Is CVE-2023-50252 being exploited?
CVE-2023-50252 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-50252 affect?
CVE-2023-50252 affects php-svg-lib. Severity is high (CVSS 8.3). 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 w
How urgent is CVE-2023-50252?
Priority 64/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-25117 MEDIUM 6.8 UPGRADE php-svg-lib is a scalable vector graphics (SVG) file parsing/rendering library
- CVE-2023-50251 MEDIUM 5.3 UPGRADE php-svg-lib is an SVG file parsing / rendering library