# CVE-2023-28335: Moodle: csrf risk in resetting all templates of a database activity

- 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.51%, higher than 37% of CVEs (2026-11-30)
- Published: 2023-03-23T00:00:00.000Z
- Modified: 2026-09-08T08:48:15.039Z
- Also known as: GHSA-wxmq-v9gx-75pg, BIT-MOODLE-2023-28335
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

## Description

The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.2
- moodle moodle: from 4.1.0 before 4.1.2; 4.1.0; 4.1.1
- moodle/moodle (Packagist): from 4.1.0 before 4.1.2
- moodle (Bitnami): from 4.1.0 before 4.1.1; from 4.1.1 before 4.1.2

## 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 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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://bugzilla.redhat.com/show_bug.cgi?id=2179424> (issue-tracking, web)
- <https://moodle.org/mod/forum/discuss.php?d=445067> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28335> (advisory, web)
- <https://github.com/moodle/moodle/commit/355556c05f4a6d9e223164eff820cd34eb70cc35> (web)
- <https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=355556c05f4a6d9e223164eff820cd34eb70cc35> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2023-28335](https://www.cve.org/CVERecord?id=CVE-2023-28335), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-wxmq-v9gx-75pg](https://github.com/advisories/GHSA-wxmq-v9gx-75pg), CC-BY-4.0, modified 2024-04-19
- NVD: [CVE-2023-28335](https://nvd.nist.gov/vuln/detail/CVE-2023-28335), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-28335](https://osv.dev/vulnerability/BIT-MOODLE-2023-28335), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28335 · Whole record: https://cve.day/CVE-2023-28335.json · Rebuilt by cve.day 2026-11-25T22:58:22.629Z
