# CVE-2024-28593: Cross-site Scripting in Moodle Chat

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/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): 0.55%, higher than 47% of CVEs (2026-12-02)
- Published: 2024-03-22T00:00:00.000Z
- Modified: 2026-09-10T03:50:10.507Z
- Also known as: GHSA-f6mh-79vh-2hv7, BIT-MOODLE-2024-28593
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The Chat activity in Moodle 4.3.3 allows students to insert a potentially unwanted HTML A element or IMG element, or HTML content that leads to a performance degradation. NOTE: the vendor's Using_Chat page says "If you know some HTML code, you can use it in your text to do things like insert images, play sounds or create different coloured and sized text." This page also says "Chat is due to be removed from standard Moodle."

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- moodle/moodle (Packagist): up to 4.3.3
- moodle moodle: 4.3.3
- moodle (Bitnami): from 4.3.3 before 4.3.4

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://medium.com/%40lamscun/how-do-i-change-htmli-from-low-to-critical-your-email-box-is-safe-e7171efd88fe> (not-applicable, web)
- <https://gist.githubusercontent.com/minendie/4f23174687bc4d8eb7f727d9959b5399/raw/9ce573cebcce5521d9d6f826ab68f3780036b874/CVE-2024-28593.txt> (advisory, third-party-advisory, web)
- <https://docs.moodle.org/403/en/Using_Chat> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28593> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2024-28593](https://www.cve.org/CVERecord?id=CVE-2024-28593), CVE Terms of Use, modified 2024-11-05
- GitHub Advisory Database: [GHSA-f6mh-79vh-2hv7](https://github.com/advisories/GHSA-f6mh-79vh-2hv7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28593](https://nvd.nist.gov/vuln/detail/CVE-2024-28593), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-28593](https://osv.dev/vulnerability/BIT-MOODLE-2024-28593), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-28593 · Whole record: https://cve.day/CVE-2024-28593.json · Rebuilt by cve.day 2026-11-25T22:58:37.850Z
