# CVE-2021-36396: Moodle vulnerable to Server-Side Request Forgery

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2023-03-06T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.728Z
- Also known as: GHSA-4rmj-w58m-fvch, BIT-MOODLE-2021-36396
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## Description

In Moodle, insufficient redirect handling made it possible to blindly bypass cURL blocked hosts/allowed ports restrictions, resulting in a blind SSRF risk.

(As written by CVE List.)

## Affected

- Moodle: 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions
- moodle/moodle (Packagist): from 3.11.0-beta before 3.11.1; from 3.10.0-beta before 3.10.5; before 3.9.8
- moodle moodle: before 3.9.8; from 3.10.0 before 3.10.5; from 3.11.0 before 3.11.1
- moodle (Bitnami): before 3.9.8; from 3.10.0 before 3.10.5; from 3.11.0 before 3.11.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://moodle.org/mod/forum/discuss.php?d=424802> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36396> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2021-36396](https://www.cve.org/CVERecord?id=CVE-2021-36396), CVE Terms of Use, modified 2025-03-05
- GitHub Advisory Database: [GHSA-4rmj-w58m-fvch](https://github.com/advisories/GHSA-4rmj-w58m-fvch), CC-BY-4.0, modified 2025-03-05
- NVD: [CVE-2021-36396](https://nvd.nist.gov/vuln/detail/CVE-2021-36396), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2021-36396](https://osv.dev/vulnerability/BIT-MOODLE-2021-36396), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-36396 · Whole record: https://cve.day/CVE-2021-36396.json · Rebuilt by cve.day 2026-11-25T22:58:08.271Z
