{"id":"CVE-2024-33998","published":"2024-05-31T19:46:13Z","modified":"2025-03-28T18:42:32Z","title":"moodle: stored XSS via user's name on participants page when opening some options","vendor":null,"product":null,"tier":"tail","description":{"text":"Insufficient escaping of participants' names in the participants page table resulted in a stored XSS risk when interacting with some features.","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.00595,"percentile":0.42475,"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=458386","tags":[]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.5},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.0, <= 4.3.3",">= 4.2, <= 4.2.6",">= 4.1, <= 4.1.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-03T14:26:53.695225Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=4.3.0, <4.3.4",">=4.2.0, <4.2.7","<4.1.10"],"patched":["4.3.4","4.2.7","4.1.10"],"from":["GHSA-xqhh-253w-4q5f"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in Moodle, where participants' names are insufficiently escaped in the participants page table, so the names are rendered unsafely. An attacker with low privileges and network access can plant a malicious name that executes script when another user interacts with certain features on that page, which requires user interaction and does not directly affect availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:46Z"},"euvd":{"id":"EUVD-2024-1870","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-moodle-cve-2024-33998","children":[{"from":"CVE-2024-33998","to":"CVE-2024-45689","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["user/classes/table/participants.php"],"commits":["https://github.com/moodle/moodle/commit/66da9394993d97861f6c80bc4ec4ee9b513d2f33","https://github.com/moodle/moodle/commit/bb466df202a4b4a692006298f93cbba20566949c"],"basis":"rarely changed file"}]}]}}