What’s Vulnerable › Vulnerabilities
CVE-2025-48882: PHPOffice Math allows XXE when processing an XML file in the MathML format
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-30 · updated 2026-06-17
- Weakness: CWE-611
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
- PHPOffice Math: before 0.3.0
References
- https://github.com/PHPOffice/Math/commit/fc31c8f57a7a81f962cbf389fd89f4d9d06fc99a
- https://github.com/PHPOffice/Math/security/advisories/GHSA-42hm-pq2f-3r7m
Get alerted when CVE-2025-48882 or the next vulnerability affects your stack