Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2023-28329

CVE-2023-28329: Moodle SQL Injection vulnerability

March 23, 2023 (updated November 9, 2023)

Insufficient validation of profile field availability condition resulted in an SQL injection risk (by default only available to teachers and managers).

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77046
  • github.com/advisories/GHSA-72w2-j52c-7682
  • github.com/moodle/moodle/commit/81e74af17f419f7910f81279efecf5c7af09f38d
  • moodle.org/mod/forum/discuss.php?d=445061
  • nvd.nist.gov/vuln/detail/CVE-2023-28329

Code Behaviors & Features

Detect and mitigate CVE-2023-28329 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.20, all versions starting from 3.11.0 before 3.11.13, all versions starting from 4.0.0 before 4.0.7, all versions starting from 4.1.0 before 4.1.2

Fixed versions

  • 4.0.7
  • 4.1.2
  • 3.9.20
  • 3.11.13

Solution

Upgrade to versions 4.0.7, 4.1.2, 3.9.20, 3.11.13 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/moodle/moodle/CVE-2023-28329.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 17 Nov 2025 12:20:18 +0000.