Skip to content
Fencer Intel
medium 5.3

CVE-2021-36397 json

Moodle has Incorrect Default Permissions

published 3y ago modified 2mo ago also BIT-moodle-2021-36397 , EUVD-2023-0836 , GHSA-2wmj-8mqg-r9q8

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

In Moodle, insufficient capability checks meant message deletions were not limited to the current user.

Patch / fix

  • packagist moodle/moodle 3.9.8, 3.10.5, 3.11.1
  • bitnami moodle 3.9.8, 3.10.5, 3.11.1
  • moodle moodle 3.9.8, 3.10.5, 3.11.1

Is CVE-2021-36397 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=3.11.0-beta, <3.11.1
>=3.10.0-beta, <3.10.5
<3.9.8
3.11.1
3.10.5
3.9.8
bitnami moodle
<3.9.8
>=3.10.0, <3.10.5
>=3.11.0, <3.11.1
3.9.8
3.10.5
3.11.1

Affected products

  • n/a Moodle

Classification

Weakness
  • CWE-276 Incorrect Default Permissions

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.