# Moodle has a stored XSS risk in admin live log

Advisory record · `GHSA-wr88-x8cm-7cgq`

- **Identifiers:** `GHSA-wr88-x8cm-7cgq` · `BIT-moodle-2025-26529` · `CVE-2025-26529` · `PKSA-bqpz-gp92-yhbn`
- **State:** Confirmed
- **Severity:** CVSS 8.3 High
- **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:** 24 Feb 2025
- **Updated:** 11 Aug 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Feb 2025, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `moodle/moodle` (Packagist): affected `>=4.5.0-beta, <4.5.2 || >=4.4.0-beta, <4.4.6 || >=4.3.0-beta, <4.3.10 || <4.1.16`; fixed in `4.5.2`, `4.4.6`, `4.3.10`, `4.1.16`

## Machine-written summary

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

> Moodle versions before 4.1.16, from 4.3.0-beta before 4.3.10, from 4.4.0-beta before 4.4.6, and from 4.5.0-beta before 4.5.2 are affected. The source says description information shown in the site administration live log was not sufficiently sanitized, which allows stored cross-site scripting. Upgrade to 4.1.16, 4.3.10, 4.4.6, or 4.5.2, depending on your release branch. The source gives few details about the required attacker access.

Written 3 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

- 8.3 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`, from CNA (fedora)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0052, the 45th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:26 UTC: First seen by agentprime
- 31 Oct 2026, 14:26 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-wr88-x8cm-7cgq)

## Sources

- [GitHub Advisory Database: GHSA-wr88-x8cm-7cgq](https://github.com/advisories/GHSA-wr88-x8cm-7cgq)
- [OSV: GHSA-wr88-x8cm-7cgq](https://osv.dev/vulnerability/GHSA-wr88-x8cm-7cgq)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-26529>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=466145>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-84145>

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-wr88-x8cm-7cgq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wr88-x8cm-7cgq/>. Everything for agents: <https://agentprime.io/llms.txt>.
