CVE-2023-50252
CVE-2023-50252 is a high-severity vulnerability in Dompdf Php-svg-lib with a CVSS 3.x base score of 8.3. Its EPSS exploit-prediction score of 24% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-15.
Key facts
- Severity: High (CVSS 3.x base score 8.3)
- EPSS exploit prediction: 24% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-15
- Affected product: Dompdf Php-svg-lib
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-50252?
- 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.
- How severe is CVE-2023-50252?
- CVE-2023-50252 has a CVSS 3.x base score of 8.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2023-50252 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 24% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-50252?
- CVE-2023-50252 affects Dompdf Php-svg-lib. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-50252?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-50252 published?
- CVE-2023-50252 was published on 2023-12-12 and last updated on 2026-06-17.
References
- https://github.com/dompdf/php-svg-lib/commit/08ce6a96d63ad7216315fae34a61c886dd2dc030
- https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-jq98-9543-m4cr
Affected products (1)
- cpe:2.3:a:dompdf:php-svg-lib:*:*:*:*:*:*:*:*
More vulnerabilities in Dompdf Php-svg-lib
- CVE-2024-25117 — Medium (CVSS 6.8): php-svg-lib is a scalable vector graphics (SVG) file parsing/rendering library. Prior to version 0.5.2, php-svg-lib…
- CVE-2023-50251 — Medium (CVSS 5.3): php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a…
All CVEs affecting Dompdf Php-svg-lib →
Other CWE-15 vulnerabilities
- CVE-2026-45087 — Critical (CVSS 10.0): Dalfox is a powerful open-source XSS scanner and utility focused on automation. Prior to 2.13.0, when dalfox is started…
- CVE-2024-4326 — Critical (CVSS 9.8): A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The…
- CVE-2026-46399 — Critical (CVSS 9.4): HAX CMS helps manage microsite universe with PHP or NodeJs backends. The PHP version of HAX CMS prior to version 26.0.0…
- CVE-2024-39800 — Critical (CVSS 9.1): Multiple external config control vulnerabilities exists in the openvpn.cgi openvpn_server_setup() functionality of…
- CVE-2024-39799 — Critical (CVSS 9.1): Multiple external config control vulnerabilities exists in the openvpn.cgi openvpn_server_setup() functionality of…
- CVE-2024-39798 — Critical (CVSS 9.1): Multiple external config control vulnerabilities exists in the openvpn.cgi openvpn_server_setup() functionality of…