Advisory record · GHSA-6jhm-4vmx-mr76

SQL injection in Moodle

CVSS 9.8 CriticalCriticalEPSS 0.32 · 98th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.
  • CVSS score 9.8 (7.0 or more) and EPSS 0.32 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 28 Jan 2022, 22:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.11, <3.11.53.11.5
Identifiers
GHSA-6jhm-4vmx-mr76 · BIT-moodle-2022-0332 · CVE-2022-0332 · PKSA-xq5f-pskz-nd9p
Weakness (CWE)
CWE-89
Published
28 Jan 2022
Updated
19 Feb 2024

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.5 are affected. The source describes an SQL injection flaw in the h5p activity web service that fetches user attempt data, and gives few details about who can reach it or what an attacker can do with it. Upgrade to Moodle 3.11.5. 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
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.32, the 98th percentile, on 22 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.