{"id":"CVE-2021-36401","published":"2023-03-06T00:00:00Z","modified":"2025-03-07T18:02:47Z","title":"In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk","vendor":null,"product":null,"tier":"tail","description":{"text":"In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0053,"percentile":0.38187,"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=424807","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":3.36}]},"affectedVersions":[{"vendor":"n/a","product":"Moodle","versions":["3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-07T18:02:05.507600Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.11.0-beta, <3.11.1",">=3.10.0-beta, <3.10.5","<3.9.8"],"patched":["3.11.1","3.10.5","3.9.8"],"from":["GHSA-g6h6-4fp6-w33w"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in Moodle's data export functionality, where ID numbers exported in HTML data formats were not sufficiently sanitized. An attacker with low privileges who can get malicious content into an ID number field can have it executed in a victim's browser when that user interacts with the exported HTML, which requires user interaction and is limited to adjacent network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:39Z"},"euvd":{"id":"EUVD-2023-1009","exploited":false,"provenance":"source"}}