CVE-2021-36395Moodle
High 7.5 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Mar 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
In Moodle, the file repository's URL parsing required additional recursion handling to mitigate the risk of recursion denial of service.
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 |
≥ 3.11.0-beta < 3.11.1 |
3.11.1 |
composer require "moodle/moodle:^3.11.1" |
| Packagist | moodle/moodle |
≥ 3.10.0-beta < 3.10.5 |
3.10.5 |
composer require "moodle/moodle:^3.10.5" |
| Packagist | moodle/moodle |
< 3.9.8 |
3.9.8 |
composer require "moodle/moodle:^3.9.8" |
Per OSV / GitHub Advisories (GHSA-273w-7fxj-pcp6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.9.8 |
| moodle | moodle | ≥ 3.10.0 < 3.10.5 |
| moodle | moodle | ≥ 3.11.0 < 3.11.1 |
Official sources
References
Links published by the sources. Open them with care.
- moodle.org Patch Vendor Advisory