# CVE-2024-38276: moodle: CSRF risks due to misuse of confirm_sesskey

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-06-18T19:49:40.339Z
- Modified: 2026-09-08T08:48:15.218Z
- Also known as: GHSA-356g-7x36-7m34, BIT-MOODLE-2024-38276
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

Incorrect CSRF token checks resulted in multiple CSRF risks.

(As written by CVE List.)

## Affected

- Moodle Moodle: 4.4; from 4.3 up to 4.3.4; from 4.2 up to 4.2.7; from 4.1 up to 4.1.10; before 4.1.10; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; 4.4.0
- moodle/moodle (Packagist): from 4.4.0-beta before 4.4.1; from 4.3.0-beta before 4.3.5; from 4.2.0-beta before 4.2.8; before 4.1.11
- fedoraproject fedora: 39; 40
- moodle (Bitnami): before 4.1.10; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; from 4.4.0 before 4.4.1

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://moodle.org/mod/forum/discuss.php?d=459501> (advisory, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E/> (advisory, mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6/> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38276> (advisory, web)
- <https://github.com/moodle/moodle/commit/f2807dee5bc777d9c58b7a70cba6e4c21ee02ea1> (web)
- <https://github.com/moodle/moodle/commit/e23f603c41055ab92f9b430cf0e7a54b4e120f95> (web)
- <https://github.com/moodle/moodle/commit/e1dab5f38166a2ff62983178f7bf8f0ed3a61090> (web)
- <https://github.com/moodle/moodle/commit/dc84fcfab06a4a0fe37797b8422e9fe3a1031c3e> (web)
- <https://github.com/moodle/moodle/commit/da8e8cee6ffaf7c184eded97e1016f20c9de0561> (web)
- <https://github.com/moodle/moodle/commit/c5b1604e8136db6d72057dd8052955058489206c> (web)
- <https://github.com/moodle/moodle/commit/c1aacb3e2884ea4dcc221c5ef2e449ce345f78ae> (web)
- <https://github.com/moodle/moodle/commit/c18b59808cefe7b54c85dce6bf2cc71601080667> (web)
- <https://github.com/moodle/moodle/commit/a0d8c025f732d5c18a2b9d1a8e5cbee35dce86f4> (web)
- <https://github.com/moodle/moodle/commit/9af9711c0a78ebad87d49bcb369ff813bc57d0a7> (web)
- <https://github.com/moodle/moodle/commit/756090ed79aa056d0b5f58e7a1dff67f139f76b4> (web)
- <https://github.com/moodle/moodle/commit/57f20b6cb352893871c3afdfa8a4c09a96e16764> (web)
- <https://github.com/moodle/moodle/commit/31ced0851189a6879e4cd27c7e65d21dd9d6e87e> (web)
- <https://github.com/moodle/moodle/commit/30fadc3686fa7490860a0bd87a29636139dfb371> (web)
- <https://github.com/moodle/moodle/commit/137d311fd1354c679b974633512a771e6e0559a1> (web)
- <https://github.com/moodle/moodle/commit/093aedf79889114d004495f05969168b646b0285> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2024-38276](https://www.cve.org/CVERecord?id=CVE-2024-38276), CVE Terms of Use, modified 2025-03-26
- GitHub Advisory Database: [GHSA-356g-7x36-7m34](https://github.com/advisories/GHSA-356g-7x36-7m34), CC-BY-4.0, modified 2024-08-09
- NVD: [CVE-2024-38276](https://nvd.nist.gov/vuln/detail/CVE-2024-38276), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-38276](https://osv.dev/vulnerability/BIT-MOODLE-2024-38276), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-38276 · Whole record: https://cve.day/CVE-2024-38276.json · Rebuilt by cve.day 2026-11-25T22:58:41.988Z
