GitHub Advisory Database
GHSA-wxmq-v9gx-75pg
Moodle vulnerable to Cross-site Request Forgery
Details
The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.1.0 before 4.1.2 (fixed in 4.1.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28335
- https://github.com/moodle/moodle/commit/355556c05f4a6d9e223164eff820cd34eb70cc35
- https://bugzilla.redhat.com/show_bug.cgi?id=2179424
- https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=355556c05f4a6d9e223164eff820cd34eb70cc35
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=445067