# Moodle does not properly restrict access to category and course data

Advisory record · `GHSA-9p54-pc88-36c4`

- **Identifiers:** `GHSA-9p54-pc88-36c4` · `CVE-2011-4300` · `PKSA-2c4t-73c1-d887`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-284](https://cwe.mitre.org/data/definitions/284.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 13 May 2022
- **Updated:** 17 Jan 2024
- **Reviewed by a person:** No

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

## Affected packages

- `moodle/moodle` (Packagist): affected `>=2.1, <2.1.2 || >=2.0.0, <2.0.5`; fixed in `2.1.2`, `2.0.5`

## Machine-written summary

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

> Moodle versions 2.0.0 to before 2.0.5 and 2.1 to before 2.1.2 are affected. The file_browser component does not properly restrict access to category and course data, so a remote attacker can obtain potentially sensitive information by requesting a file. Upgrade to Moodle 2.0.5 or 2.1.2. The source gives few details on the exact requests involved.

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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.021, the 82nd percentile, on 23 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-9p54-pc88-36c4)

## Sources

- [GitHub Advisory Database: GHSA-9p54-pc88-36c4](https://github.com/advisories/GHSA-9p54-pc88-36c4)
- [OSV: GHSA-9p54-pc88-36c4](https://osv.dev/vulnerability/GHSA-9p54-pc88-36c4)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-4300>
- <https://github.com/moodle/moodle/commit/6f7c43c7de8f62cd53a7f3b54ad5325cd109c1be>
- <https://github.com/moodle/moodle/commit/81c77993e3808bba68fe24d6bfbac19a41679a6f>
- <https://github.com/moodle/moodle/commit/f6b07c4da54a9db24723beb147e8a19a3d487e00>
- <https://bugzilla.redhat.com/show_bug.cgi?id=747444>
- <https://github.com/moodle/moodle>
- <http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=f6b07c4da54a9db24723beb147e8a19a3d487e00>
- <http://git.moodle.org/gw?p=moodle.git;a=commit;h=f6b07c4da54a9db24723beb147e8a19a3d487e00>
- <http://moodle.org/mod/forum/discuss.php?d=188311>

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-9p54-pc88-36c4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9p54-pc88-36c4/>. Everything for agents: <https://agentprime.io/llms.txt>.
