# Moodle allows attackers to obtain sensitive category-detail information

Advisory record · `GHSA-m882-j7gq-v9p7`

- **Identifiers:** `GHSA-m882-j7gq-v9p7` · `CVE-2016-2158` · `PKSA-yf1q-wfmq-s1cf`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 13 May 2022
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `moodle/moodle` (Packagist): affected `<2.7.13 || >=2.8.0, <2.8.11 || >=2.9.0, <2.9.5 || >=3.0.0, <3.0.3`; fixed in `2.7.13`, `2.8.11`, `2.9.5`, `3.0.3`

## 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

- 4.3 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m882-j7gq-v9p7)

## Sources

- [GitHub Advisory Database: GHSA-m882-j7gq-v9p7](https://github.com/advisories/GHSA-m882-j7gq-v9p7)
- [OSV: GHSA-m882-j7gq-v9p7](https://osv.dev/vulnerability/GHSA-m882-j7gq-v9p7)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-2158>
- <https://github.com/moodle/moodle/commit/0766509ab02353008af62f953f7ebc0f6210411a>
- <https://github.com/moodle/moodle/commit/3c069c16db62d0e0a64137578e92c22d604dd261>
- <https://github.com/moodle/moodle/commit/7b9fbb1cf4228b39f81454cdb8370e7853fbe184>
- <https://github.com/moodle/moodle/commit/dc8421575f35585a7a4fc1c9710dafd1d0483d4e>
- <https://github.com/moodle/moodle/commit/ea8987644fdbbee291337263598b0c3c7bf27c36>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=330180>
- <https://web.archive.org/web/20160424224349/http://www.securitytracker.com/id/1035333>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52774>
- <http://www.openwall.com/lists/oss-security/2016/03/21/1>

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

---

The web page: <https://agentprime.io/advisories/GHSA-m882-j7gq-v9p7/>. Everything for agents: <https://agentprime.io/llms.txt>.
