Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2022-0335

CVE-2022-0335: Cross-Site Request Forgery (CSRF)

January 25, 2022 (updated December 21, 2022)

The delete badge alignment functionality does not include the necessary token check to prevent a CSRF risk.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2043666
  • moodle.org/mod/forum/discuss.php?d=431103
  • nvd.nist.gov/vuln/detail/CVE-2022-0335

Code Behaviors & Features

Detect and mitigate CVE-2022-0335 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.8.9, all versions starting from 3.9.0 before 3.9.12, all versions starting from 3.10.0 before 3.10.9, all versions starting from 3.11.0 before 3.11.5

Fixed versions

  • 3.9.12
  • 3.10.9
  • 3.11.5

Solution

Upgrade to versions 3.9.12, 3.10.9, 3.11.5 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/moodle/moodle/CVE-2022-0335.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.