Vulnerability in Dompdf Php-Svg-Lib

CVE-2023-50251

php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a `use` tag inside an svg document, an attacker can cause the system to go to an infinite recursion. Depending on the system configuration and attack pattern this could exhaust the memory available to the executing process and/or to the server itself. An attacker sending multiple request to a system to render the above payload can potentially cause resource exhaustion to the point that the system is unable to handle incoming request. Version 0.5.1 contains a patch for this issue.

EPSS: 0.009 (55.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-50251?
CVE-2023-50251 is a medium-severity vulnerability in Dompdf Php-Svg-Lib, classified under Uncontrolled Recursion. CVSS score: 5.3/10. Published 2023-12-12.
How severe is CVE-2023-50251?
Medium severity. CVSS v3 base score is 5.3 out of 10.