{"id":"CVE-2021-36398","published":"2023-03-06T00:00:00Z","modified":"2025-03-07T18:58:56Z","title":"In moodle, ID numbers displayed in the web service token list required additional sanitizing to prevent a stored XSS…","vendor":null,"product":null,"tier":"tail","description":{"text":"In moodle, ID numbers displayed in the web service token list required additional sanitizing to prevent a stored XSS risk.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00516,"percentile":0.37154,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=424804","tags":[]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":7.43},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"Moodle","versions":["3.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-07T18:57:56.438438Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.11, <3.11.1"],"patched":["3.11.1"],"from":["GHSA-786g-xv8v-9h93"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in Moodle, where ID numbers shown in the web service token list were not sufficiently sanitized. An attacker who can get a crafted ID number stored can have its script run in the browser of a user who views the token list, provided that attacker holds low privileges, a user must interact with the page, and the attack can cross security scope; the impact is limited to confidentiality and integrity, with no availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:03Z"},"euvd":{"id":"EUVD-2023-0918","exploited":false,"provenance":"source"}}