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

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

October 6, 2022 (updated December 21, 2022)

Enabling and disabling installed H5P libraries does not include the necessary token to prevent a CSRF risk.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326
  • bugzilla.redhat.com/show_bug.cgi?id=2121360
  • nvd.nist.gov/vuln/detail/CVE-2022-2986

Code Behaviors & Features

Detect and mitigate CVE-2022-2986 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 starting from 3.11.0 before 3.11.9, all versions starting from 4.0.0 before 4.0.3

Fixed versions

  • 3.11.9
  • 4.0.3

Solution

Upgrade to versions 3.11.9, 4.0.3 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-2986.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:54 +0000.