php-svg-lib unsafe attributes merge when parsing `use` tag
CVE-2023-50252

8.3HIGH

Key Information:

Vendor

dompdf

Vendor
CVE Published:
12 December 2023

What is CVE-2023-50252?

The php-svg-lib library prior to version 0.5.1 contains a vulnerability related to the improper handling of the <use> tag referencing an <image> tag. Specifically, the attributes from the <use> tag can be merged into the <image> tag without proper sanitization of the href attribute. This can potentially lead to unsafe file reads and exploitation through PHAR Deserialization in PHP versions prior to 8. Version 0.5.1 has addressed this issue with a security patch.

Affected Version(s)

php-svg-lib < 0.5.1

References

EPSS Score

9% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
8.3
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2023-50252 : php-svg-lib unsafe attributes merge when parsing `use` tag