{"id":"GHSA-gj2j-ppjq-9pjg","summary":"Moodle Cross-site scripting (XSS) vulnerability in course management search","details":"Cross-site scripting (XSS) vulnerability in the search_pagination function in course/classes/management_renderer.php in Moodle 2.8.x before 2.8.10, 2.9.x before 2.9.4, and 3.0.x before 3.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted search string.","aliases":["CVE-2016-0725"],"modified":"2024-04-23T23:58:47.893801Z","published":"2022-05-13T01:12:38Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-23T23:41:09Z","nvd_published_at":"2016-02-22T05:59:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-0725"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=326206"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52552"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176502.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176436.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/01/18/1"},{"type":"WEB","url":"http://www.securitytracker.com/id/1034694"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8"},{"fixed":"2.8.10"}]}],"versions":["v2.8.0","v2.8.0-beta","v2.8.0-rc1","v2.8.0-rc2","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gj2j-ppjq-9pjg/GHSA-gj2j-ppjq-9pjg.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9"},{"fixed":"2.9.4"}]}],"versions":["v2.9.0","v2.9.0-beta","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.2","v2.9.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gj2j-ppjq-9pjg/GHSA-gj2j-ppjq-9pjg.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0"},{"fixed":"3.0.2"}]}],"versions":["v3.0.0","v3.0.0-beta","v3.0.0-rc1","v3.0.0-rc2","v3.0.0-rc3","v3.0.0-rc4","v3.0.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gj2j-ppjq-9pjg/GHSA-gj2j-ppjq-9pjg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}