Medium · published September 30, 2026
A flaw was found in Moodle. Incorrect handling of IPv4-mapped IPv6 addresses within the URL downloader's host-blocking logic allows an authenticated remote user to bypass blocked-host restrictions. By supplying a crafted URL, an attacker can induce the server to make requests to restricted destinations, leading to Server-Side Request Forgery (SSRF).
| Product | Versions | Fixed in |
|---|---|---|
| moodle/moodle | < 4.5.13 | 4.5.13 |
| moodle/moodle | ≥ 5.0.0, < 5.0.9 | 5.0.9 |
| moodle/moodle | ≥ 5.1.0, < 5.1.6 | 5.1.6 |
| moodle/moodle | ≥ 5.2.0, < 5.2.2 | 5.2.2 |