SecurityContext

CVE-2021-43559: Moodle - Cross Site Request Forgery

  • Cve: CVE-2021-43559
  • Name: Moodle - Cross Site Request Forgery
  • Description: A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. The "delete related badge" functionality did not include the necessary token check to prevent a CSRF risk.
  • Impact: Attackers can perform unauthorized badge deletions, potentially disrupting user achievements and system integrity.
  • Remediation: Implement CSRF token validation in the 'delete related badge' functionality and update to the latest supported versions.
  • Vulnerability type: cross_site_request_forgery
  • Requirement type: logged_in
  • Requirements: Attacker needs victim to be authenticated
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00624
  • Epss percentile: 0.50889
  • Assignee: [email protected]
  • Published at: 2021-11-22T16:15:08Z
  • Age in days: 1828
  • Modified at: 2026-06-17T04:11:08Z
  • Patch available: yes
  • References total: 2
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43559
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-352Cross-Site Request Forgery

References

UrlSourceTags
https://moodle.org/mod/forum/discuss.php?d=429099nvdPatch, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2021517nvdIssue Tracking, Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
moodle:moodle>= 3.11.0, < 3.11.4; >= 3.10.0, < 3.10.8; >= 3.9.0, < 3.9.11; <= 3.8.8/v1/products/moodle/moodle
fedoraproject:fedora= 35/v1/products/fedoraproject/fedora
fedoraproject:extra_packages_for_enterprise_linux= 7.0/v1/products/fedoraproject/extra_packages_for_enterprise_linux

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fixyes/v1/repositories/moodle/moodle

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports