{"id":"GHSA-786g-xv8v-9h93","aliases":["BIT-moodle-2021-36398","CVE-2021-36398"],"title":"Moodle Cross-site Scripting vulnerability","description":"In Moodle, ID numbers displayed in the web service token list required additional sanitizing to prevent a stored XSS risk.","severity":"medium","score":5.4,"published":"2023-03-07T00:30:26.000Z","modified":"2025-03-07T21:47:17.271Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11"},{"fixed":"3.11.1"}],"type":"ECOSYSTEM"}],"versions":["3.11","v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2"],"fixed":["3.11.1"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-36398","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=424804"],"sources":[{"name":"OSV","id":"GHSA-786g-xv8v-9h93","modified":"2025-03-07T21:47:17.271464Z","url":"https://osv.dev/vulnerability/GHSA-786g-xv8v-9h93"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}]}