# Moodle Multiple cross-site scripting (XSS) vulnerabilities in the File Picker module

Advisory record · `GHSA-89f3-74m6-g27g`

- **Identifiers:** `GHSA-89f3-74m6-g27g` · `CVE-2013-1833` · `PKSA-ww3k-y9kn-y4zk`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 13 May 2022
- **Updated:** 5 Dec 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.0.0, <=2.1.10 || >=2.2.0, <2.2.8 || >=2.3.0, <2.3.5 || >=2.4.0, <2.4.2`; fixed in `2.2.8`, `2.3.5`, `2.4.2`

## Machine-written summary

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

> Moodle versions 2.0.0 through 2.1.10, 2.2.0 before 2.2.8, 2.3.0 before 2.3.5, and 2.4.0 before 2.4.2 are affected by multiple cross-site scripting vulnerabilities in the File Picker module. A remote authenticated user can inject arbitrary web script or HTML by using a crafted filename. Upgrade to Moodle 2.2.8, 2.3.5, 2.4.2, or later.

Written 4 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.015, the 73rd percentile, on 26 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:28 UTC: First seen by agentprime
- 31 Oct 2026, 14:28 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-89f3-74m6-g27g)

## Sources

- [GitHub Advisory Database: GHSA-89f3-74m6-g27g](https://github.com/advisories/GHSA-89f3-74m6-g27g)
- [OSV: GHSA-89f3-74m6-g27g](https://osv.dev/vulnerability/GHSA-89f3-74m6-g27g)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-1833>
- <https://github.com/moodle/moodle/commit/75822af579ec07cca1c6781a7c989625dcdd5463>
- <https://github.com/moodle/moodle/commit/93e9ea9989ec6e91153d9651c9a4bc7dac1cf9ce>
- <https://github.com/moodle/moodle/commit/954b35451112c333c0ae77dff25dafbf41587c26>
- <https://github.com/moodle/moodle/commit/ca2a7956b2957d8495e154409694d205bb4ae3ef>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=225344>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-37507>
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html>
- <http://openwall.com/lists/oss-security/2013/03/25/2>

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-89f3-74m6-g27g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-89f3-74m6-g27g/>. Everything for agents: <https://agentprime.io/llms.txt>.
