Composer phenx/php-svg-lib has 3 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.
| CVE | Title | Severity | CVSS | Affected | Fixed in |
|---|---|---|---|---|---|
| CVE-2024-25117 | php-svg-lib lacks path validation on font through SVG inline styles | medium | 6.8 | <0.5.2 | 0.5.2 |
| CVE-2023-50251 | Denial of service caused by infinite recursion when parsing SVG document | medium | 5.3 | <0.5.1 | 0.5.1 |
| GHSA-97m3-52wr-xvv2 | Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE | critical | 10.0 | <0.5.2 | 0.5.2 |
Is phenx/php-svg-lib safe to use?
Version 0.5.2 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.
Is phenx/php-svg-lib being actively exploited?
None of its 3 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.
How do I check my own site?
Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.
Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended) composer require --dev phpwarden/phpwarden # then vendor/bin/phpwarden deps composer.lock # or, without Composer pipx install phpwarden && phpwarden deps composer.lock
Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are rankedMaintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.
[](https://phpwarden.io/packages/phenx/php-svg-lib)