Advisory record · GHSA-m37g-mwcg-7j7v

Moodle Improper Encoding or Escaping of Output

CVSS 4.9 MediumEPSS 0.0090 · 59th percentile

Published by the GitHub Advisory Database at 30 Sept 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.9, <3.9.10 || >=3.10, <3.10.7 || >=3.11, <3.11.33.9.10, 3.10.7, 3.11.3
Identifiers
GHSA-m37g-mwcg-7j7v · BIT-moodle-2021-40694 · CVE-2021-40694 · PKSA-r71d-sf7c-v712
Weakness (CWE)
CWE-116
Published
30 Sept 2022
Updated
23 Apr 2024

Machine-written summary

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

Moodle versions 3.9 before 3.9.10, 3.10 before 3.10.7, and 3.11 before 3.11.3 are affected. Insufficient escaping of the LaTeX preamble allowed site administrators to read files available to the HTTP server system account. Upgrade to 3.9.10, 3.10.7, 3.11.3 or a later release.

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

ScoreRatingCVSSVectorSource
4.9 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0090, the 59th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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