# CVE-2021-40695: Moodle Exposure of Sensitive Information to an Unauthorized Actor

- 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.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-01-21T18:17:48.000Z
- Modified: 2026-09-08T08:48:14.731Z
- Also known as: GHSA-gp4w-f57r-9rx3, BIT-MOODLE-2021-40695
- Weaknesses: CWE-200
- Assigned by: redhat

## Description

It was possible for a student to view their quiz grade before it had been released, using a quiz web service.

(As written by CVE List.)

## Affected

- moodle: 3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versions
- moodle/moodle (Packagist): from 3.11 before 3.11.3; from 3.10 before 3.10.7; from 3.9 before 3.9.10
- moodle moodle: from 3.9.0 before 3.9.10; from 3.10.0 before 3.10.7; from 3.11.0 before 3.11.3
- moodle (Bitnami): from 3.9.0 before 3.9.10; from 3.10.0 before 3.10.7; from 3.11.0 before 3.11.3

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2043424> (advisory, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40695> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2021-40695](https://www.cve.org/CVERecord?id=CVE-2021-40695), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-gp4w-f57r-9rx3](https://github.com/advisories/GHSA-gp4w-f57r-9rx3), CC-BY-4.0, modified 2024-04-23
- NVD: [CVE-2021-40695](https://nvd.nist.gov/vuln/detail/CVE-2021-40695), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2021-40695](https://osv.dev/vulnerability/BIT-MOODLE-2021-40695), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-40695 · Whole record: https://cve.day/CVE-2021-40695.json · Rebuilt by cve.day 2026-11-25T22:58:07.835Z
