# External Control of Assumed-Immutable Web Parameter in moodle

Advisory record · `GHSA-x6gm-qqwp-76gr`

- **Identifiers:** `GHSA-x6gm-qqwp-76gr` · `BIT-moodle-2022-30597` · `CVE-2022-30597` · `PKSA-8gg4-921q-8s9n`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-472](https://cwe.mitre.org/data/definitions/472.html)
- **Tags:** [CWE-472](https://agentprime.io/advisories/tag/cwe-472.md)
- **Published:** 19 May 2022
- **Updated:** 17 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `moodle/moodle` (Packagist): affected `>=4.0, <4.0.1 || >=3.11, <3.11.7 || >=3.10, <3.10.11 || >=3.9, <3.9.14`; fixed in `4.0.1`, `3.11.7`, `3.10.11`, `3.9.14`

## Machine-written summary

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

> Moodle versions from 3.9 before 3.9.14, from 3.10 before 3.10.11, from 3.11 before 3.11.7, and 4.0 before 4.0.1 are affected. The source gives few details: the description user field was not hidden when it was set as a hidden user field. Upgrade to 3.9.14, 3.10.11, 3.11.7, or 4.0.1, as applicable. No workaround is listed.

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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 71st percentile, on 6 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-x6gm-qqwp-76gr)

## Sources

- [GitHub Advisory Database: GHSA-x6gm-qqwp-76gr](https://github.com/advisories/GHSA-x6gm-qqwp-76gr)
- [OSV: GHSA-x6gm-qqwp-76gr](https://osv.dev/vulnerability/GHSA-x6gm-qqwp-76gr)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30597>
- <https://github.com/moodle/moodle/commit/670268900cca1d55a718d708ae91bda826f8b9a3>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2083585>
- <https://github.com/moodle/moodle>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5>
- <https://moodle.org/mod/forum/discuss.php?d=434579>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74318>

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-x6gm-qqwp-76gr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x6gm-qqwp-76gr/>. Everything for agents: <https://agentprime.io/llms.txt>.
