8.7High

CVE-2025-48882PHPOffice Math allows XXE when processing an XML file in the MathML format

PHPOffice Math Published: (1 year ago)

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.

Weakness (CWE): CWE-611

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
PHPOffice Math < 0.3.0

References and patches