{"id":"GHSA-786g-xv8v-9h93","summary":"Moodle Cross-site Scripting vulnerability","details":"In Moodle, ID numbers displayed in the web service token list required additional sanitizing to prevent a stored XSS risk.","aliases":["BIT-moodle-2021-36398","CVE-2021-36398"],"modified":"2025-03-07T21:47:17.271464Z","published":"2023-03-07T00:30:26Z","database_specific":{"nvd_published_at":"2023-03-06T22:15:00Z","severity":"MODERATE","cwe_ids":["CWE-79"],"github_reviewed_at":"2023-03-08T00:20:29Z","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36398"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=424804"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.1"}]}],"versions":["3.11","v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-786g-xv8v-9h93/GHSA-786g-xv8v-9h93.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}