Advisory record · GHSA-xvmh-25jw-gmmm

Moodle affected by a code injection vulnerability

CVSS 8.8 HighEPSS 0.0057 · 47th percentile

Published by the GitHub Advisory Database at 23 Jan 2026, 06:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=5.1.0-beta, <5.1.1 || >=5.0.0-beta, <5.0.4 || >=4.5.0-beta, <4.5.8 || >=4.2.0-beta, <4.4.12 || <4.1.225.1.1, 5.0.4, 4.5.8, 4.4.12, 4.1.22
Identifiers
GHSA-xvmh-25jw-gmmm · BIT-moodle-2025-67847 · CVE-2025-67847 · PKSA-41tm-5zq3-pfdc
Weakness (CWE)
CWE-94
Published
23 Jan 2026
Updated
6 Mar 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, 4.4.12, 4.5.8, 5.0.4 and 5.1.1 (with the 4.2, 4.5 and 5.0 beta ranges also affected) contain a code injection flaw in the restore functionality. An attacker with access to the restore interface can trigger server-side execution of arbitrary code, which could lead to full compromise of the application. Upgrade to 4.1.22, 4.4.12, 4.5.8, 5.0.4 or 5.1.1, depending on your branch.

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
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (fedora)
  • CISA KEV Not listed.
  • EPSS 0.0057, the 47th percentile, on 14 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.