Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2025-48882

Severity High
Score 8.7/10

Summary

PHPOffice Math is a library that provides a set of classes to manipulate different formula file formats. In PHPOffice, loading XML data using the standard `libxml` extension and the `LIBXML_DTDLOAD` flag without additional filtration, led to an Improper Restriction of XML External Entity Reference(XXE) vulnerability. This issue affects phpoffice/math package versions prior to 0.3.0.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-611 - Improper Restriction of XML External Entity Reference

Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.

Advisory Timeline

  • Published