CVE-2025-48882

High

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.

SeverityHigh
CVSS8.7
Exploit probability—
ProductPhpoffice/math
PublishedMay 30, 2025
First seenMay 30, 2025

How to fix

Update
  • phpoffice/math0.3.0 or later

Affected products

ProductAffected versionsFixed in
phpoffice/mathPackagistv < 0.3.00.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-48882 · Phpoffice/math · Dark Radar