Advisory record · GHSA-h2fw-93qx-vrcq

SQL Injection in Moodle

CVSS 8.8 HighEPSS 0.0091 · 60th percentile

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

PackageEcosystemAffectedFixed in
moodle/moodlePackagist>=3.11.0, <3.11.6 || >=3.10.0, <3.10.10 || <3.9.133.11.6, 3.10.10, 3.9.13
Identifiers
GHSA-h2fw-93qx-vrcq · BIT-moodle-2022-0983 · CVE-2022-0983 · PKSA-3tp5-6sqk-x25n
Weakness (CWE)
CWE-89
Published
26 Mar 2022
Updated
20 Feb 2024

Machine-written summary

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

Moodle versions below 3.9.13, from 3.10.0 up to but not including 3.10.10, and from 3.11.0 up to but not including 3.11.6 are affected by an SQL injection risk in the Badges code for configuring criteria. The source gives few details on the exact attack conditions, but by default only teachers and managers have the relevant capability. Upgrade to 3.9.13, 3.10.10, or 3.11.6 depending on your release 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
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0091, the 60th 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.