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.
Severity
HIGH
CVSS v3
not scored
CVSS v4
8.7
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 · source cna
Exploit chance (EPSS)
0.496%
chance of exploitation in the next 30 days
higher than 43.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-611: Improper Restriction of XML External Entity Reference
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-05-30 |
Timeline
- 2025-05-29GitHub advisory published (GHSA-42hm-pq2f-3r7m)1 day before publication
- 2025-05-30Published by the CNA19:43 UTC
- 2025-05-30CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-42hm-pq2f-3r7m, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist phpoffice/math | before 0.3.0 | 0.3.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| phpoffice math |
References
- https://github.com/PHPOffice/Math/commit/fc31c8f57a7a81f962cbf389fd89f4d9d06fc99a
- https://github.com/PHPOffice/Math/security/advisories/GHSA-42hm-pq2f-3r7m
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-48882'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-48882'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-48882'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-48882'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).