CVE-2023-1402
MEDIUM 4.3CVSS 3.1Moodle may display roles to users who don't have access to them
The course participation report required additional checks to prevent roles being displayed which the user did not have access to view.
- Published
- 23 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-668
- Also known as
- BIT-moodle-2023-1402GHSA-vj5p-fp42-774p
- Sources
- NVDJSONOSV GHSA-vj5p-fp42-774pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
> 3.9.0, < 3.9.20 | 3.9.20 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
> 3.11.0, < 3.11.13 | 3.11.13 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
> 4.0.0, < 4.0.7 | 4.0.7 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:3.9.0:-:*:*:*:*:*:* |
= 3.9.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:3.11.0:-:*:*:*:*:*:* |
= 3.11.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.1.1:*:*:*:*:*:*:* |
= 4.1.1 | |
| OSV | Packagist | moodle/moodle | >= 4.1.0, < 4.1.2 | 4.1.2 |
| OSV | Packagist | moodle/moodle | >= 4.0.0, < 4.0.7 | 4.0.7 |
| OSV | Packagist | moodle/moodle | >= 3.11.0, < 3.11.13 | 3.11.13 |
| OSV | Packagist | moodle/moodle | < 3.9.20 | 3.9.20 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2179427 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/ · WEB
- https://moodle.org/mod/forum/discuss.php?d=445069 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-1402 · ADVISORY
- https://github.com/moodle/moodle/commit/f0a557bffbdb450648d0e4cedb391d14d8a0a253 · WEB
- https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=f0a557bffbdb450648d0e4cedb391d14d8a0a253 · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Mar 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Mar 2023)