# Moodle multiple cross-site scripting (XSS) vulnerabilities

Advisory record · `GHSA-m8f5-9wg8-2c3h`

- **Identifiers:** `GHSA-m8f5-9wg8-2c3h` · `CVE-2014-3551` · `PKSA-wwg7-w6tq-nps3`
- **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:** 7 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.4.11 || >=2.5.0, <2.5.7 || >=2.6.0, <2.6.4 || >=2.7.0, <2.7.1`; fixed in `2.4.11`, `2.5.7`, `2.6.4`, `2.7.1`

## Machine-written summary

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

> Moodle versions before 2.4.11, from 2.5.0 before 2.5.7, from 2.6.0 before 2.6.4, and from 2.7.0 before 2.7.1 are affected by cross-site scripting flaws in the advanced-grading implementation. A remote authenticated user can inject arbitrary web script or HTML through a crafted qualification or rating field in a rubric. Upgrade to 2.4.11, 2.5.7, 2.6.4, or 2.7.1, depending on the branch in use.

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.017, the 78th 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-m8f5-9wg8-2c3h)

## Sources

- [GitHub Advisory Database: GHSA-m8f5-9wg8-2c3h](https://github.com/advisories/GHSA-m8f5-9wg8-2c3h)
- [OSV: GHSA-m8f5-9wg8-2c3h](https://osv.dev/vulnerability/GHSA-m8f5-9wg8-2c3h)
- <https://nvd.nist.gov/vuln/detail/CVE-2014-3551>
- <https://github.com/moodle/moodle/commit/f25f472be425d6ef8aa587648dafda1bd4d1c5d8>
- <https://github.com/moodle/moodle/commit/eb1381de1dbcce0215dcdd62cfac4fe287beed4e>
- <https://github.com/moodle/moodle/commit/e42b6e20bdd5d6f09bc09be22fd7f20736e27085>
- <https://github.com/moodle/moodle/commit/db5a6e6560c963849f8807184ca32efee6779264>
- <https://github.com/moodle/moodle/commit/b5dacb548800ee10d4940c8ebeca48c3c2ae0512>
- <https://github.com/moodle/moodle/commit/98d5566c2270e21cbfaf1f4e8d61039f05d6aae2>
- <https://github.com/moodle/moodle/commit/8ecc049f7f020086c1881bdf573af16cf2d9f9c9>
- <https://github.com/moodle/moodle/commit/8380722bb11f36d33308580aee169e161d3f2c14>
- <https://github.com/moodle/moodle/commit/7f4db6f4d9014370df0265ab846ad76235af0cae>
- <https://github.com/moodle/moodle/commit/72d1a3ab0b002a9a5f32f3c2b61ffc9fa7f7b789>
- <https://github.com/moodle/moodle/commit/68299e6154ae41b7e586904fd1b860cad7f65654>

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-m8f5-9wg8-2c3h>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m8f5-9wg8-2c3h/>. Everything for agents: <https://agentprime.io/llms.txt>.
