# CVE-2022-0334: Insufficient user authorization in Moodle

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2022-01-25T19:11:11.000Z
- Modified: 2026-09-08T08:48:14.865Z
- Also known as: GHSA-93pj-4p65-qmr9, BIT-MOODLE-2022-0334
- Weaknesses: CWE-668, CWE-863
- Assigned by: fedora

## Description

A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.

(As written by CVE List.)

## Affected

- moodle: moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12
- moodle/moodle (Packagist): from 3.11 before 3.11.5; from 3.10 before 3.10.8; before 3.9.11
- moodle moodle: up to 3.8.9; from 3.9.0 up to 3.9.11; from 3.10.0 before 3.10.9; from 3.11.0 before 3.11.5
- moodle (Bitnami): before 3.8.10; from 3.9.0 before 3.9.12; from 3.10.0 before 3.10.9; from 3.11.0 before 3.11.5

## Every score

- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2043664> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=431102> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0334> (advisory, web)
- <https://github.com/moodle/moodle/commit/1964d68f8500ea3c7b776fa8a2af6266ed109f84> (web)
- <https://github.com/moodle/moodle/commit/6d18f136ae88ec97e351a723df570816a959ec68> (web)

## Sources

- CVE List: [CVE-2022-0334](https://www.cve.org/CVERecord?id=CVE-2022-0334), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-93pj-4p65-qmr9](https://github.com/advisories/GHSA-93pj-4p65-qmr9), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2022-0334](https://nvd.nist.gov/vuln/detail/CVE-2022-0334), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2022-0334](https://osv.dev/vulnerability/BIT-MOODLE-2022-0334), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-0334 · Whole record: https://cve.day/CVE-2022-0334.json · Rebuilt by cve.day 2026-11-25T22:58:09.408Z
