Advisory record · GHSA-w8x2-w4qr-v3x4

Moodle Code Injection vulnerability

CVSS 4.7 MediumEPSS 0.023 · 83rd percentile

Published by the GitHub Advisory Database at 9 Nov 2023, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist<4.3.0-rc24.3.0-rc2
Identifiers
GHSA-w8x2-w4qr-v3x4 · BIT-moodle-2023-5540 · CVE-2023-5540 · PKSA-9gb6-31c6-p6xb
Weakness (CWE)
CWE-94
Published
9 Nov 2023
Updated
10 Sept 2026

Machine-written summary

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

Moodle (Packagist package moodle/moodle) versions before 4.3.0-rc2 are affected by a code injection flaw in the IMSCP activity. The source says that by default only teachers and managers could use this activity, so an attacker would need one of those accounts to exploit it, and the flaw carries a risk of remote code execution. Upgrade to 4.3.0-rc2 or later.

Written 31 Oct 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
4.7 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L CNA (fedora)
  • CISA KEV Not listed.
  • EPSS 0.023, the 83rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:04 UTC First seen by agentprime
  2. 31 Oct 2026, 14:04 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.