{"id":"GHSA-xv72-6pgh-cjj8","aliases":["BIT-moodle-2022-45151","CVE-2022-45151"],"title":"Moodle stored-XSS vulnerability in some \"social\" user profile fields","description":"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.","severity":"medium","score":5.4,"published":"2022-11-23T15:30:21.000Z","modified":"2024-04-23T23:58:43.380Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11"},{"fixed":"3.11.11"}],"type":"ECOSYSTEM"}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.10","v3.11.2","v3.11.3","v3.11.4","v3.11.5","v3.11.6","v3.11.7","v3.11.8","v3.11.9"],"fixed":["3.11.11"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"4.0"},{"fixed":"4.0.5"}],"type":"ECOSYSTEM"}],"versions":["v4.0.0","v4.0.0-beta","v4.0.0-rc1","v4.0.0-rc2","v4.0.0-rc3","v4.0.0-rc4","v4.0.1","v4.0.2","v4.0.3","v4.0.4"],"fixed":["4.0.5"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-45151","https://bugzilla.redhat.com/show_bug.cgi?id=2142774","https://github.com/moodle/moodle","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB","https://moodle.org/mod/forum/discuss.php?d=440771","http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76131"],"sources":[{"name":"OSV","id":"GHSA-xv72-6pgh-cjj8","modified":"2024-04-23T23:58:43.380682Z","url":"https://osv.dev/vulnerability/GHSA-xv72-6pgh-cjj8"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}]}