# GHSA-mhpx-3rv8-wrjm: ZendFramework potential XML eXternal Entity injection vectors

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T21:16:36.000Z
- Modified: 2024-12-04T05:32:07.571Z
- Weaknesses: CWE-611, CWE-776

## Description

Numerous components utilizing PHP's `DOMDocument`, `SimpleXML`, and `xml_parse` functionality are vulnerable to two types of attacks:

- XML eXternal Entity (XXE) Injection attacks. The above mentioned extensions are insecure by default, allowing external entities to be specified by adding a specific DOCTYPE element to XML documents and strings. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections.
- XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circular references; this leads to CPU and memory consumption, making Denial of Service exploits trivial to implement.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework1 (Packagist): from 1.12.0 before 1.12.4

## References

- <https://framework.zend.com/security/advisory/ZF2014-01> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2014-01.yaml> (web)
- <https://github.com/zendframework/zf1> (package)

## Sources

- GitHub Advisory Database: [GHSA-mhpx-3rv8-wrjm](https://github.com/advisories/GHSA-mhpx-3rv8-wrjm), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-mhpx-3rv8-wrjm · Whole record: https://cve.day/GHSA-mhpx-3rv8-wrjm.json · Rebuilt by cve.day 2026-11-25T22:56:32.584Z
