Lucene search

K

Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE

🗓️ 22 Feb 2024 18:41:15Reported by GoogleType 
osv
 osv
🔗 osv.dev👁 50 Views

Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE. A lack of sanitization/check in the font path returned by php-svg-lib, in the case of inline CSS font defined, allows triggering metadata unserializing on PHP < 8.0. The problem lies on the openFont function of the lib/Cpdf.php library, when the $font variable passed by php-svg-lib isn't checked correctly

Show more
Refs