{"id":"CVE-2023-28331","aliases":["BIT-moodle-2023-28331","GHSA-77jm-f3vj-xvx2"],"url":"https://o3.security/vulnerability/CVE-2023-28331","summary":"Moodle: xss risk when outputting database activity filter data","details":"Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.","published":"2023-03-23T00:00:00Z","modified":"2026-08-12T03:51:19.855895994Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00662,"percentile":0.48699,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.1.2"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.0.7"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.13"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.20"}],"fix":{"url":"https://github.com/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fc","label":"moodle/moodle@1899e03"},"references":[{"type":"WEB","url":"https://git.moodle.org"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=445063"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28331.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28331"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2179418"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/1899e0397350c4c2bb3e73773981f66f16f8f2fc"},{"type":"WEB","url":"https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=1899e0397350c4c2bb3e73773981f66f16f8f2fc"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:19.855895994Z"}}