Skip to content
Fencer Intel
medium 4.3

CVE-2022-40316 json

Moodle No groups filtering in H5P activity attempts report

published 4y ago modified 2mo ago also BIT-moodle-2022-40316 , EUVD-2022-7001 , GHSA-385f-vgq7-8hhx

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

Summary

The H5P activity attempts report did not filter by groups, which in separate groups mode could reveal information to non-editing teachers about attempts/users in groups they should not have access to.

Patch / fix

  • packagist moodle/moodle 3.9.17, 3.11.10, 4.0.4
  • bitnami moodle 3.9.17, 3.11.10, 4.0.4
  • moodle moodle 3.9.17, 3.11.10, 4.0.4

Is CVE-2022-40316 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

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-40316 updated

moodle: No groups filtering in H5P activity attempts report

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

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

CVSS scores

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

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=3.9, <3.9.17
>=3.11, <3.11.10
>=4.0, <4.0.4
3.9.17
3.11.10
4.0.4
bitnami moodle
>=3.9.0, <3.9.17
>=3.11.0, <3.11.10
>=4.0.0, <4.0.4
3.9.17
3.11.10
4.0.4

Affected products

  • n/a moodle

Classification

Weakness
  • CWE-862 Missing Authorization
  • CWE-668 Exposure of Resource to Wrong Sphere

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.