# phpMyAdmin vulnerable to XML external entity (XXE) injection attack

Advisory record · `GHSA-q4mm-89q2-xffg`

- **Identifiers:** `GHSA-q4mm-89q2-xffg` · `CVE-2011-4107` · `PKSA-rmn1-gxrc-4qyq`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-611](https://cwe.mitre.org/data/definitions/611.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md)
- **Published:** 17 May 2022
- **Updated:** 9 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `phpmyadmin/phpmyadmin` (Packagist): affected `>=3.4.0, <3.4.7.1 || >=3.3.0, <3.3.10.5`; fixed in `3.4.7.1`, `3.3.10.5`

## Machine-written summary

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

> phpMyAdmin versions 3.3.x before 3.3.10.5 and 3.4.x before 3.4.7.1 are vulnerable to XML external entity (XXE) injection through the XML import plug-in. A remote authenticated user can supply XML containing external entity references to read arbitrary files on the server. Upgrade to phpMyAdmin 3.3.10.5 or 3.4.7.1.

Written 5 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.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:32 UTC: First seen by agentprime
- 31 Oct 2026, 14:32 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-q4mm-89q2-xffg)

## Sources

- [GitHub Advisory Database: GHSA-q4mm-89q2-xffg](https://github.com/advisories/GHSA-q4mm-89q2-xffg)
- [OSV: GHSA-q4mm-89q2-xffg](https://osv.dev/vulnerability/GHSA-q4mm-89q2-xffg)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-4107>
- <https://github.com/phpmyadmin/phpmyadmin/commit/2fbf631384fd8cded55f4500cb87b129442f9ed2>
- <https://github.com/phpmyadmin/phpmyadmin/commit/34d99de000de9d15cfdf5e9cc8b7682d51110bbd>
- <https://github.com/phpmyadmin/phpmyadmin/commit/5fa86b8e81565c15ddbc359e8f59ecd829a2b717>
- <https://github.com/phpmyadmin/phpmyadmin/commit/a5e206fbd2ca814042cfc1bb7dd3b40c28ce3fb5>
- <https://bugzilla.redhat.com/show_bug.cgi?id=751112>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/71108>
- <https://github.com/phpmyadmin/phpmyadmin>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069625.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069635.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-November/069649.html>
- <http://packetstormsecurity.org/files/view/106511/phpmyadmin-fileread.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-q4mm-89q2-xffg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q4mm-89q2-xffg/>. Everything for agents: <https://agentprime.io/llms.txt>.
