{"id":"CVE-2022-30596","aliases":["BIT-moodle-2022-30596","GHSA-wvh5-78h5-gmgr"],"url":"https://o3.security/vulnerability/CVE-2022-30596","summary":"Cross-site Scripting in moodle","details":"A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.","published":"2022-05-18T16:59:52Z","modified":"2026-07-15T02:05:29.083588423Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.0.1"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.7"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.10.11"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.14"}],"fix":null,"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74204"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=434578"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30596.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30596"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2083583"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T02:05:29.083588423Z"}}