Advisory record · GHSA-786g-xv8v-9h93

Moodle Cross-site Scripting vulnerability

CVSS 5.4 MediumEPSS 0.0052 · 37th percentile

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

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.11, <3.11.13.11.1
Identifiers
GHSA-786g-xv8v-9h93 · BIT-moodle-2021-36398 · CVE-2021-36398 · PKSA-f1px-rfmw-j97k
Weakness (CWE)
CWE-79
Published
7 Mar 2023
Updated
7 Mar 2025

Machine-written summary

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

Moodle versions 3.11 up to but not including 3.11.1 are affected. ID numbers shown in the web service token list were not sanitized enough, creating a stored cross-site scripting risk. Upgrade to Moodle 3.11.1 or later. The source gives few details about who can inject the content or how it is triggered.

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
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0052, the 37th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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