# CVE-2021-20185: Moodle Client side denial of service via personal message

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.39%, higher than 73% of CVEs (2026-12-02)
- Published: 2021-01-28T19:01:04.000Z
- Modified: 2026-09-08T08:48:14.728Z
- Also known as: GHSA-c3j6-33r4-89q3, BIT-MOODLE-2021-20185
- Weaknesses: CWE-400, CWE-770
- Assigned by: redhat

## Description

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that messaging did not impose a character limit when sending messages, which could result in client-side (browser) denial of service for users receiving very large messages.

(As written by CVE List.)

## Affected

- moodle: moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16
- moodle/moodle (Packagist): from 3.5 before 3.5.16; from 3.8 before 3.8.7; from 3.9 before 3.9.4; from 3.10 before 3.10.1
- moodle moodle: from 3.5.0 before 3.5.16; from 3.8.0 before 3.8.7; from 3.9.0 before 3.9.4; 3.10.0
- moodle (Bitnami): from 3.5.0 before 3.5.16; from 3.8.0 before 3.8.7; from 3.9.0 before 3.9.4; from 3.10.0 before 3.10.1

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

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

## Sources

- CVE List: [CVE-2021-20185](https://www.cve.org/CVERecord?id=CVE-2021-20185), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c3j6-33r4-89q3](https://github.com/advisories/GHSA-c3j6-33r4-89q3), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2021-20185](https://nvd.nist.gov/vuln/detail/CVE-2021-20185), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2021-20185](https://osv.dev/vulnerability/BIT-MOODLE-2021-20185), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-20185 · Whole record: https://cve.day/CVE-2021-20185.json · Rebuilt by cve.day 2026-11-25T22:57:59.750Z
