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.
Conclusion & alert: CVE-2023-50252 is rated High Exploit Risk (80.3/100): CVSS High severity, with high exploitation likelihood (EPSS 9.63%, 93th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-05 | 9.98% | 9.63% | -0.36% |
| 2 | 2026-03-04 | 9.38% | 9.98% | +0.60% |
| 3 | 2025-11-30 | — | 9.38% | — |
Full EPSS history (20 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.3 | 3.1 | HIGH |
|
3.9 | 3.7 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2023-50252 not yet assigned priority: Debian including 1 source packages (php-dompdf-svg-lib), 2 status rows across 2 suites (bookworm, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2023-50252 |
ubuntu
|
medium | CVE-2023-50252 medium priority: Ubuntu has no source package entries, 0 status rows across 0 suites (none): no status rows. | https://ubuntu.com/security/CVE-2023-50252 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| dompdf | php-svg-lib | < 0.5.1 | cpe:2.3:a:dompdf:php-svg-lib:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/dompdf/php-svg-lib/commit/08ce6a96d63ad7216315fae34a61c886dd2dc030 | Patch |
| https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-jq98-9543-m4cr | Exploit Mitigation Vendor Advisory |