# Moodle vulnerable to Cross-Site Request Forgery

Advisory record · `GHSA-8hxm-42v5-66hm`

- **Identifiers:** `GHSA-8hxm-42v5-66hm` · `CVE-2011-4298` · `PKSA-96rk-vxkp-2rzk`
- **State:** Confirmed
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-352](https://cwe.mitre.org/data/definitions/352.html)
- **Tags:** [Cross-site request forgery (CSRF)](https://agentprime.io/advisories/tag/csrf.md)
- **Published:** 13 May 2022
- **Updated:** 12 Apr 2025
- **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.0.0, <2.0.5 || >=2.1.0, <2.1.2`; fixed in `2.0.5`, `2.1.2`

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

- Score not published, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0100, the 63rd percentile, on 18 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-8hxm-42v5-66hm)

## Sources

- [GitHub Advisory Database: GHSA-8hxm-42v5-66hm](https://github.com/advisories/GHSA-8hxm-42v5-66hm)
- [OSV: GHSA-8hxm-42v5-66hm](https://osv.dev/vulnerability/GHSA-8hxm-42v5-66hm)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-4298>
- <https://bugzilla.redhat.com/show_bug.cgi?id=747444>
- <https://git.moodle.org/>
- <http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=48346fb11f8ced06a05c0618b02a3a925b34ec59>
- <http://git.moodle.org/gw?p=moodle.git;a=commit;h=48346fb11f8ced06a05c0618b02a3a925b34ec59>
- <http://moodle.org/mod/forum/discuss.php?d=188309>

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-8hxm-42v5-66hm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8hxm-42v5-66hm/>. Everything for agents: <https://agentprime.io/llms.txt>.
