Advisory record · GHSA-mhf6-pp52-8wqj

Moodle Cross-site Scripting (XSS) vulnerability

CVSS 7.3 HighEPSS 0.0026 · 18th percentile

Published by the GitHub Advisory Database at 3 Feb 2026, 12:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist<4.1.22 || >=4.4.0-beta, <4.4.12 || >=4.5.0-beta, <4.5.8 || >=5.0.0-beta, <5.0.4 || >=5.1.0-beta, <5.1.14.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1
Identifiers
GHSA-mhf6-pp52-8wqj · BIT-moodle-2025-67849 · CVE-2025-67849 · PKSA-qhxz-6rtn-nzx7
Weakness (CWE)
CWE-79
Published
3 Feb 2026
Updated
22 Feb 2026

Machine-written summary

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

Moodle (moodle/moodle) versions before 4.1.22, from 4.4.0-beta before 4.4.12, from 4.5.0-beta before 4.5.8, from 5.0.0-beta before 5.0.4, and from 5.1.0-beta before 5.1.1 are affected by a cross-site scripting flaw caused by improper sanitization of AI prompt responses. An attacker can inject malicious HTML or script that runs in the browsers of other users who view the affected pages, potentially stealing their sessions or manipulating the interface. Upgrade to 4.1.22, 4.4.12, 4.5.8, 5.0.4, or 5.1.1 or later.

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

ScoreRatingCVSSVectorSource
7.3 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CNA (fedora)
  • CISA KEV Not listed.
  • EPSS 0.0026, the 18th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

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.