Skip to content
OpenAdvisories
High · 8.7 CVE-2025-48882 EUVD-2025-16521GHSA-42hm-pq2f-3r7m

PHPOffice Math allows XXE when processing an XML file in the MathML format

Published May 30, 2025 · Updated May 30, 2025 · Assigned by GitHub_M

Description

PHPOffice Math is a library that provides a set of classes to manipulate different formula file formats. Prior to version 0.3.0, loading XML data using the standard `libxml` extension and the `LIBXML_DTDLOAD` flag without additional filtration, leads to XXE. Version 0.3.0 fixes the vulnerability.

Affected products

VendorProductAffectedFixed
PHPOffice Math < 0.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpoffice/math < 0.3.0 0.3.0 GHSA-42hm-pq2f-3r7m

References