CVE-2023-35131Moodle
Medium 6.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- Jun 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Content on the groups page required additional sanitizing to prevent an XSS risk. This flaw affects Moodle versions 4.2, 4.1 to 4.1.3, 4.0 to 4.0.8 and 3.11 to 3.11.14.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.2.0 < 4.2.1 |
4.2.1 |
composer require "moodle/moodle:^4.2.1" |
| Packagist | moodle/moodle |
≥ 4.1.0 < 4.1.4 |
4.1.4 |
composer require "moodle/moodle:^4.1.4" |
| Packagist | moodle/moodle |
≥ 4.0.0 < 4.0.9 |
4.0.9 |
composer require "moodle/moodle:^4.0.9" |
| Packagist | moodle/moodle |
< 3.11.15 |
3.11.15 |
composer require "moodle/moodle:^3.11.15" |
Per OSV / GitHub Advisories (GHSA-fwfj-8p36-rc64). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.11.0 < 3.11.15 |
| moodle | moodle | ≥ 4.0.0 < 4.0.9 |
| moodle | moodle | ≥ 4.1.0 < 4.1.4 |
| moodle | moodle | 4.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- moodle.org Patch Vendor Advisory