Skip to content

Cross Site Request Forgery in Moodle

High severity GitHub Reviewed Published Jan 28, 2022 to the GitHub Advisory Database • Updated Sep 13, 2023

Package

composer moodle/moodle (Composer)

Affected versions

>= 3.11, < 3.11.5
>= 3.10, < 3.10.8
>= 3.9, < 3.9.11

Patched versions

3.11.5
3.10.8
3.9.11

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.

References

Published by the National Vulnerability Database Jan 25, 2022
Reviewed Jan 26, 2022
Published to the GitHub Advisory Database Jan 28, 2022
Last updated Sep 13, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-0335

GHSA ID

GHSA-xpfv-89vg-r562

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.