What’s Vulnerable › Vulnerabilities
CVE-2022-0335
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-25 · updated 2026-06-17
- Weakness: CWE-352
Description
A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. The "delete badge alignment" functionality did not include the necessary token check to prevent a CSRF risk.
Affected products
- Moodle: through 3.8.9; from 3.9.0 before 3.9.12; from 3.10.0 before 3.10.9; from 3.11.0 before 3.11.5 — fixed in 3.10.9, 3.11.5, 3.9.12
How to fix
Upgrade to a fixed version: Moodle 3.10.9, 3.11.5, 3.9.12. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2043666
- https://moodle.org/mod/forum/discuss.php?d=431103
- https://bugzilla.redhat.com/show_bug.cgi?id=2043666
- https://moodle.org/mod/forum/discuss.php?d=431103
Get alerted when CVE-2022-0335 or the next vulnerability affects your stack