# ZendFramework vulnerable to Cross-site Scripting

Advisory record · `GHSA-5gmf-3c43-q73v`

- **Identifiers:** `GHSA-5gmf-3c43-q73v` · `PKSA-h5jq-d32d-ks95`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 7 Jun 2024
- **Updated:** 4 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 7 Jun 2024, 20:50 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.0.1`; fixed in `2.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

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 7 Jun 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-5gmf-3c43-q73v](https://github.com/advisories/GHSA-5gmf-3c43-q73v)
- [OSV: GHSA-5gmf-3c43-q73v](https://osv.dev/vulnerability/GHSA-5gmf-3c43-q73v)
- <https://github.com/zendframework/zendframework/commit/07d847b705911da6a15257f64895f69cab7ad50c>
- <https://github.com/zendframework/zendframework/commit/0a78cb2b633a618ac514eadef2c19ef78b1e12f2>
- <https://github.com/zendframework/zendframework/commit/27131ca9520bdf1d4c774c71459eba32f2b10733>
- <https://github.com/zendframework/zendframework/commit/6791343f8c8cd1948315a87eb15e16b57e08bc71>
- <https://github.com/zendframework/zendframework/commit/6f57175753a238388b4811b9b0786b6d5866a208>
- <https://github.com/zendframework/zendframework/commit/7f48d9edf82bcd7ece9d189d836682be83d08e91>
- <https://github.com/zendframework/zendframework/commit/a36406ddea52fd294b291310be00c526df6b713a>
- <https://github.com/zendframework/zendframework/commit/ad3628bc2c05c297af4492330885d49f373e1e91>
- <https://framework.zend.com/security/advisory/ZF2012-03>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2012-03.yaml>
- <https://github.com/zendframework/zendframework>

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-5gmf-3c43-q73v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-5gmf-3c43-q73v/>. Everything for agents: <https://agentprime.io/llms.txt>.
