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

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

Affected products (1)

More vulnerabilities in Dompdf Php-svg-lib

All CVEs affecting Dompdf Php-svg-lib →

Other CWE-15 vulnerabilities

Browse all CWE-15 vulnerabilities →