{"id":"CVE-2023-28331","published":"2023-03-23T00:00:00Z","modified":"2025-02-25T20:20:09Z","title":"Moodle: xss risk when outputting database activity filter data","vendor":null,"product":null,"tier":"tail","description":{"text":"Content output by the database auto-linking filter required additional sanitizing to prevent an XSS risk.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00662,"percentile":0.52612,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2179418","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/","tags":["vendor-advisory"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=445063","tags":[]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":10.52},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.1.0, < 4.1.2",">= 4.0.0, < 4.0.7",">= 3.11.0, < 3.11.13","< 3.9.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T20:19:46.030900Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=4.1.0, <4.1.2",">=4.0.0, <4.0.7",">=3.11.0, <3.11.13","<3.9.20"],"patched":["4.1.2","4.0.7","3.11.13","3.9.20"],"from":["GHSA-77jm-f3vj-xvx2"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) weakness in Moodle, specifically in the output of the database activity's auto-linking filter, which did not sufficiently sanitise content before rendering it. An attacker who can get the affected content into a page can cause script to run in another user's browser, which requires that user to interact with the crafted content over the network, with no authentication needed by the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:06Z"},"euvd":{"id":"EUVD-2023-0917","exploited":false,"provenance":"source"}}