CVE-2025-48882
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-30
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.4 %
higher than 34 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| phpoffice | math (Packagist) | < 0.3.0 | Affected |
Weakness type
-
CWE-611: Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
References
- https://github.com/PHPOffice/Math/commit/fc31c8f57a7a81f962cbf389fd89f4d9d06fc99a
- https://github.com/PHPOffice/Math/security/advisories/GHSA-42hm-pq2f-3r7m
Related at Berigo
Articles
-
New technique shows when a language model notices it is being tested
Same product
2026-08-13
On 6 July 2026 Anthropic published research on what it calls the J-space, a small set of internal patterns that reveal which words a language model h…
-
Fake recruiters talked IT staff into installing a VPN client that ran hidden code
Same product
2026-08-12
CERT-UA describes how the threat cluster UAC-0145 approaches IT professionals on job sites and runs a full hiring process, complete with a Telegram c…
-
Congress demands answers from Instructure after the Canvas breach
Same product
2026-05-11
The House Homeland Security Committee has asked Instructure to explain how attackers got into Canvas and which controls failed.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.