{"id":"CVE-2025-48882","published":"2025-05-30T19:43:35Z","modified":"2025-05-30T20:46:17Z","title":"PHPOffice Math allows XXE when processing an XML file in the MathML format","vendor":"PHPOffice","product":"Math","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00496,"percentile":0.43491,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/PHPOffice/Math/security/advisories/GHSA-42hm-pq2f-3r7m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PHPOffice/Math/commit/fc31c8f57a7a81f962cbf389fd89f4d9d06fc99a","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"phpoffice","affectedVersions":[{"vendor":"PHPOffice","product":"Math","versions":["< 0.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T20:46:07.358714Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpoffice/math","vulnerableRanges":["<0.3.0"],"patched":["0.3.0"],"from":["GHSA-42hm-pq2f-3r7m"],"provenance":"source"}],"summary":{"text":"PHPOffice Math, a PHP library for manipulating formula file formats, contains an XML external entity (XXE) flaw in its XML loading of MathML files, where it uses the standard libxml extension with the LIBXML_DTDLOAD flag without additional filtering. An attacker who can supply a crafted MathML XML file that the library processes can exploit this over the network without authentication or user interaction, gaining read access to sensitive data on the affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:18Z"},"euvd":{"id":"EUVD-2025-16521","exploited":false,"provenance":"source"}}