Advisory record · GHSA-g6h6-4fp6-w33w

Moodle vulnerable to Stored Cross-site Scripting

CVSS 4.8 MediumEPSS 0.0053 · 38th 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.0-beta, <3.11.1 || >=3.10.0-beta, <3.10.5 || <3.9.83.11.1, 3.10.5, 3.9.8
Identifiers
GHSA-g6h6-4fp6-w33w · BIT-moodle-2021-36401 · CVE-2021-36401 · PKSA-6thw-4qmq-h8nv
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 before 3.9.8, from 3.10.0-beta before 3.10.5, and from 3.11.0-beta before 3.11.1 are affected. ID numbers exported in HTML data formats were not sufficiently sanitized, allowing stored cross-site scripting. The source gives few details on who can inject the content or how it is triggered. Upgrade to 3.9.8, 3.10.5, or 3.11.1, depending on your branch.

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.8 Medium 3.1 CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0053, the 38th 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.