# CVE-2022-40316: Moodle No groups filtering in H5P activity attempts report

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `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.68%, higher than 53% of CVEs (2026-12-02)
- Published: 2022-09-30T16:37:12.000Z
- Modified: 2026-09-08T08:48:15.043Z
- Also known as: GHSA-385f-vgq7-8hhx, BIT-MOODLE-2022-40316
- Weaknesses: CWE-668, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

The H5P activity attempts report did not filter by groups, which in separate groups mode could reveal information to non-editing teachers about attempts/users in groups they should not have access to.

(As written by CVE List.)

## Affected

- moodle: 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions
- moodle/moodle (Packagist): from 3.9 before 3.9.17; from 3.11 before 3.11.10; from 4.0 before 4.0.4
- moodle moodle: from 3.9.0 before 3.9.17; from 3.11.0 before 3.11.10; from 4.0.0 before 4.0.4
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 35; 36
- moodle (Bitnami): from 3.9.0 before 3.9.17; from 3.11.0 before 3.11.10; from 4.0.0 before 4.0.4

## Every score

- CISA-ADP: 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`
- 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2128151> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=438395> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40316> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2022-40316](https://www.cve.org/CVERecord?id=CVE-2022-40316), CVE Terms of Use, modified 2025-05-20
- GitHub Advisory Database: [GHSA-385f-vgq7-8hhx](https://github.com/advisories/GHSA-385f-vgq7-8hhx), CC-BY-4.0, modified 2024-04-23
- NVD: [CVE-2022-40316](https://nvd.nist.gov/vuln/detail/CVE-2022-40316), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2022-40316](https://osv.dev/vulnerability/BIT-MOODLE-2022-40316), Apache-2.0, modified 2026-09-08

---

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