CSRF in Moodle

CVE-2022-0335

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.006 (45.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Moodle
  • N/a Moodle — versions moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-0335?
CVE-2022-0335 is a high-severity vulnerability in Moodle, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.8/10. Published 2022-01-25.
How severe is CVE-2022-0335?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2022-0335 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.