High severity8.8NVD Advisory· Published Jan 25, 2022· Updated Jun 17, 2026
CVE-2022-0335
CVE-2022-0335
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
moodle/moodlePackagist | >= 3.11, < 3.11.5 | 3.11.5 |
moodle/moodlePackagist | >= 3.10, < 3.10.8 | 3.10.8 |
moodle/moodlePackagist | >= 3.9, < 3.9.11 | 3.9.11 |
Affected products
4- osv-coords2 versions
< 3.8.10+ 1 more
- (no CPE)range: < 3.8.10
- (no CPE)range: >= 3.11, < 3.11.5
Patches
Vulnerability mechanics
References
5- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-xpfv-89vg-r562ghsaADVISORY
- moodle.org/mod/forum/discuss.phpnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-0335ghsaADVISORY
- github.com/moodle/moodle/commit/d40cc61eba229c6d1f47b9a525022fbc9136b9f6ghsaWEB
News mentions
0No linked articles in our index yet.