CVE-2025-48882

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

Published May 30, 2025 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16521 PHPOffice Math allows XXE when processing an XML file in the MathML format
Github GHSA Github GHSA GHSA-42hm-pq2f-3r7m PHPOffice Math allows XXE when processing an XML file in the MathML format
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title PHPOffice Math allows XXE when processing an XML file in the MathML format
Weaknesses CWE-611
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 30, 2025, 8:46 PM
Reserved
May 27, 2025, 8:14 PM
Status
Deferred
Published
May 30, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:30 AM