# Moodle Double-Caches Content, Potentially Writing to a File System's Tmp Directory

Advisory record · `GHSA-wxvp-8q8h-r6rr`

- **Identifiers:** `GHSA-wxvp-8q8h-r6rr` · `CVE-2011-4293` · `PKSA-g5bd-h7mp-y3rr`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-379](https://cwe.mitre.org/data/definitions/379.html)
- **Tags:** [CWE-379](https://agentprime.io/advisories/tag/cwe-379.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.0, <2.0.4 || >=2.1, <2.1.1`; fixed in `2.0.4`, `2.1.1`

## Machine-written summary

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

> Moodle versions 2.0.x before 2.0.4 and 2.1.x before 2.1.1 are affected. The theme implementation duplicates caching of CSS and JavaScript content, which lets remote attackers bypass access restrictions and write to the operating system's temporary directory through unspecified vectors. Upgrade to Moodle 2.0.4 or 2.1.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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.024, the 84th percentile, on 8 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-wxvp-8q8h-r6rr)

## Sources

- [GitHub Advisory Database: GHSA-wxvp-8q8h-r6rr](https://github.com/advisories/GHSA-wxvp-8q8h-r6rr)
- [OSV: GHSA-wxvp-8q8h-r6rr](https://osv.dev/vulnerability/GHSA-wxvp-8q8h-r6rr)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-4293>
- <https://github.com/moodle/moodle/commit/05f4555422278190ec24a88466ac43c914a7e5d6>
- <https://github.com/moodle/moodle/commit/9a380fbb53429713b3c422a3146456dc97205329>
- <https://github.com/moodle/moodle/commit/e1c2a211f259821910be2cba23679d4176fb00a3>
- <https://github.com/moodle/moodle>
- <http://git.moodle.org/gw?p=moodle.git;a=commit;h=e1c2a211f259821910be2cba23679d4176fb00a3>
- <http://moodle.org/mod/forum/discuss.php?d=182736>
- <http://openwall.com/lists/oss-security/2011/11/14/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-wxvp-8q8h-r6rr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wxvp-8q8h-r6rr/>. Everything for agents: <https://agentprime.io/llms.txt>.
