{"id":"CVE-2022-45151","published":"2022-11-23T00:00:00Z","modified":"2025-04-25T19:28:48Z","title":"The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied…","vendor":null,"product":null,"tier":"tail","description":{"text":"The stored-XSS vulnerability was discovered in Moodle which exists due to insufficient sanitization of user-supplied data in several \"social\" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.","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.00857,"percentile":0.59301,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2142774","tags":[]},{"url":"https://moodle.org/mod/forum/discuss.php?d=440771","tags":[]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76131","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/","tags":["vendor-advisory"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":11.86},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"Moodle","versions":["Fixed in moodle 4.0.5, moodle 3.11.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-25T19:28:44.943437Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.11, <3.11.11",">=4.0, <4.0.5"],"patched":["3.11.11","4.0.5"],"from":["GHSA-xv72-6pgh-cjj8"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in Moodle because user-supplied data in several \"social\" user profile fields is insufficiently sanitised. An attacker with low privileges and network access could store arbitrary HTML and script code that executes in a user's browser within the context of the vulnerable site, but this requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:34Z"},"euvd":{"id":"EUVD-2022-7467","exploited":false,"provenance":"source"}}