Advisory record · GHSA-jqgr-gh62-jf53

Moodle Stored Cross-site Scripting and page denial of service

CVSS 7.1 HighEPSS 0.0075 · 51st percentile

Published by the GitHub Advisory Database at 1 Oct 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.17 || >=3.11, <3.11.10 || >=4.0, <4.0.43.9.17, 3.11.10, 4.0.4
Identifiers
GHSA-jqgr-gh62-jf53 · BIT-moodle-2022-40313 · CVE-2022-40313 · PKSA-dhgp-ry9y-b8gx
Weakness (CWE)
CWE-79
Published
1 Oct 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.17, 3.11 before 3.11.10, and 4.0 before 4.0.4 are affected. The source gives few details, but it says recursive rendering of Mustache template helpers containing user input can lead to cross-site scripting or a page failing to load. Upgrade to 3.9.17, 3.11.10, or 4.0.4 depending on your branch. No workaround is listed.

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
7.1 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0075, the 51st percentile, on 25 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.