# ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

Advisory record · `GHSA-xp8p-9rq5-4wgv`

- **Identifiers:** `GHSA-xp8p-9rq5-4wgv` · `CVE-2015-5161` · `PKSA-wj3f-s5xk-69k6` · `PKSA-wkm6-gzx7-1qtv` · `PKSA-zb12-j4m8-9hsy`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-611](https://cwe.mitre.org/data/definitions/611.html) · [CWE-776](https://cwe.mitre.org/data/definitions/776.html)
- **Tags:** [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md) · [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 17 May 2022
- **Updated:** 4 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 May 2022, 03:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `zendframework/zendframework` (Packagist): affected `>=2.0.0, <2.4.6 || >=2.5.0, <2.5.2 || >=1.12.0, <1.12.14`; fixed in `2.4.6`, `2.5.2`, `1.12.14`
- `zendframework/zendframework1` (Packagist): affected `>=1.12.0, <1.12.14`; fixed in `1.12.14`
- `zendframework/zendxml` (Packagist): affected `>=1.0.0, <1.0.1`; fixed in `1.0.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.099, the 95th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:28 UTC: First seen by agentprime
- 31 Oct 2026, 14:28 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-xp8p-9rq5-4wgv)

## Sources

- [GitHub Advisory Database: GHSA-xp8p-9rq5-4wgv](https://github.com/advisories/GHSA-xp8p-9rq5-4wgv)
- [OSV: GHSA-xp8p-9rq5-4wgv](https://osv.dev/vulnerability/GHSA-xp8p-9rq5-4wgv)
- <https://nvd.nist.gov/vuln/detail/CVE-2015-5161>
- <https://github.com/zendframework/zf1/issues/393>
- <https://github.com/zendframework/ZendXml/commit/79f478fa2af85ce1fc18ac132dee5aa714c3b532>
- <https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b>
- <https://framework.zend.com/security/advisory/ZF2015-06>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5161.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5161.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendxml/CVE-2015-5161.yaml>
- <https://web.archive.org/web/20200228055156/http://www.securityfocus.com/bid/76177>
- <https://www.exploit-db.com/exploits/37765>
- <http://framework.zend.com/security/advisory/ZF2015-06>
- <http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xp8p-9rq5-4wgv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xp8p-9rq5-4wgv/>. Everything for agents: <https://agentprime.io/llms.txt>.
