Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GHSA-f3qr-qr4x-j273 affects the php-svg-lib package (phenx/php-svg-lib) on Packagist for versions below 0.5.2. The library does not validate that a font-family value in SVG inline styles avoids PHAR URLs or external references, so a crafted SVG could pass a PHAR path as a font name to downstream libraries. Projects that use it could face restriction bypass or, on PHP below 8.0, possible remote code execution if they do not revalidate the font name. Upgrade to version 0.5.2, which is the fixed version listed.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.8 | Medium | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0093, the 60th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:04 UTC First seen by agentprime
- 31 Oct 2026, 14:04 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-f3qr-qr4x-j273
- OSV: GHSA-f3qr-qr4x-j273
- github.com/dompdf/php-svg-lib/security/advisories/GHSA-f3qr-qr4x-j273
- nvd.nist.gov/vuln/detail/CVE-2024-25117
- github.com/dompdf/php-svg-lib/commit/732faa9fb4309221e2bd9b2fda5de44f947133aa
- github.com/dompdf/php-svg-lib/commit/8ffcc41bbde39f09f94b9760768086f12bbdce42
- github.com/dompdf/php-svg-lib