# CVE-2023-28332: Moodle: algebra filter xss when filter is misconfigured

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-03-23T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.933Z
- Also known as: GHSA-9f45-9qrw-pp4v, BIT-MOODLE-2023-28332
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

If the algebra filter was enabled but not functional (eg the necessary binaries were missing from the server), it presented an XSS risk.

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle/moodle (Packagist): from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle moodle: from >3.9.0 before 3.9.20; from >3.11.0 before 3.11.13; from >4.0.0 before 4.0.7; 3.9.0; 3.11.0; 4.0.0; 4.1.0; 4.1.1
- moodle (Bitnami): from 3.9.0 before 3.9.20; from 3.11.0 before 3.11.13; from 4.0.0 before 4.0.7; from 4.1.0 before 4.1.2

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2179419> (issue-tracking, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/> (vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=445064> (advisory, issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28332> (advisory, web)
- <https://github.com/moodle/moodle/commit/9f178c1f816e78ec024ab16a10192c81305b2624> (web)
- <https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=9f178c1f816e78ec024ab16a10192c81305b2624> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)

## Sources

- CVE List: [CVE-2023-28332](https://www.cve.org/CVERecord?id=CVE-2023-28332), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9f45-9qrw-pp4v](https://github.com/advisories/GHSA-9f45-9qrw-pp4v), CC-BY-4.0, modified 2024-04-19
- NVD: [CVE-2023-28332](https://nvd.nist.gov/vuln/detail/CVE-2023-28332), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-28332](https://osv.dev/vulnerability/BIT-MOODLE-2023-28332), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28332 · Whole record: https://cve.day/CVE-2023-28332.json · Rebuilt by cve.day 2026-11-25T22:58:22.627Z
