# phpMyAdmin vulnerable to Cross-site Scripting

Advisory record · `GHSA-rh74-5835-jpxp`

- **Identifiers:** `GHSA-rh74-5835-jpxp` · `CVE-2016-5701` · `PKSA-1fc5-yxx9-d2t5`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md)
- **Published:** 14 May 2022
- **Updated:** 14 Apr 2025
- **Reviewed by a person:** No

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

## Affected packages

- `phpmyadmin/phpmyadmin` (Packagist): affected `>=4.0.10.0, <4.0.10.16 || >=4.4.15.0, <4.4.15.7 || >=4.6.0, <4.6.3`; fixed in `4.0.10.16`, `4.4.15.7`, `4.6.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> phpMyAdmin versions 4.0.10.x before 4.0.10.16, 4.4.15.x before 4.4.15.7, and 4.6.x before 4.6.3 are affected. A remote attacker can use a crafted URI to inject BBCode into HTTP sessions, which is a cross-site scripting issue. Upgrade to 4.0.10.16, 4.4.15.7, or 4.6.3, depending on your branch.

Written 3 Nov 2026.

## 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.0: `CVSS:3.0/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:** 0.015, the 75th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:27 UTC: First seen by agentprime
- 31 Oct 2026, 14:27 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-rh74-5835-jpxp)

## Sources

- [GitHub Advisory Database: GHSA-rh74-5835-jpxp](https://github.com/advisories/GHSA-rh74-5835-jpxp)
- [OSV: GHSA-rh74-5835-jpxp](https://osv.dev/vulnerability/GHSA-rh74-5835-jpxp)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5701>
- <https://github.com/phpmyadmin/phpmyadmin/commit/1dca386505f396f0c2035112a403cc80768a141f>
- <https://github.com/phpmyadmin/phpmyadmin/commit/5633b1d57b23ddaa5a9a976a323c90c18d9be03d>
- <https://github.com/phpmyadmin/phpmyadmin/commit/bf7379771f4b32e01f4af3b36f8ec6900288688e>
- <https://github.com/phpmyadmin/phpmyadmin>
- <https://security.gentoo.org/glsa/201701-32>
- <https://web.archive.org/web/20200227223408/http://www.securityfocus.com/bid/91383>
- <https://www.phpmyadmin.net/security/PMASA-2016-17>
- <http://lists.opensuse.org/opensuse-updates/2016-06/msg00113.html>
- <http://lists.opensuse.org/opensuse-updates/2016-06/msg00114.html>
- <http://www.debian.org/security/2016/dsa-3627>

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-rh74-5835-jpxp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rh74-5835-jpxp/>. Everything for agents: <https://agentprime.io/llms.txt>.
