{"id":"CVE-2016-0725","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":["GHSA-gj2j-ppjq-9pjg"],"modified":"2026-07-08T05:46:29.841352911Z","published":"2016-02-22T05:59:22.527Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"22"},{"last_affected":"22"},{"introduced":"23"},{"last_affected":"23"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52552"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/01/18/1"},{"type":"WEB","url":"http://www.securitytracker.com/id/1034694"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176502.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176436.html"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=326206"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"21db825b19e84bb24c0661b551a5069970e143c4"},{"last_affected":"62e799ac84232c065790c8cab0f841e43ae038e0"}],"database_specific":{"cpe":["cpe:2.3:a:moodle:moodle:2.8.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.4:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.5:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.6:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.7:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.8:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.8.9:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.9.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.9.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.9.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.9.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:3.0.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:3.0.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.8.0"},{"last_affected":"2.8.0"},{"introduced":"2.8.1"},{"last_affected":"2.8.1"},{"introduced":"2.8.2"},{"last_affected":"2.8.2"},{"introduced":"2.8.3"},{"last_affected":"2.8.3"},{"introduced":"2.8.4"},{"last_affected":"2.8.4"},{"introduced":"2.8.5"},{"last_affected":"2.8.5"},{"introduced":"2.8.6"},{"last_affected":"2.8.6"},{"introduced":"2.8.7"},{"last_affected":"2.8.7"},{"introduced":"2.8.8"},{"last_affected":"2.8.8"},{"introduced":"2.8.9"},{"last_affected":"2.8.9"},{"introduced":"2.9.0"},{"last_affected":"2.9.0"},{"introduced":"2.9.1"},{"last_affected":"2.9.1"},{"introduced":"2.9.2"},{"last_affected":"2.9.2"},{"introduced":"2.9.3"},{"last_affected":"2.9.3"},{"introduced":"3.0.0"},{"last_affected":"3.0.0"},{"introduced":"3.0.1"},{"last_affected":"3.0.1"}],"source":"CPE_STRING"}}],"versions":["2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","2.9.0","2.9.1","2.9.2","2.9.3","3.0.0","3.0.1","v3.0.1","v3.0.0-rc3","v3.0.0","v3.0.0-rc4","v3.0.0-rc2","v3.0.0-rc1","v3.0.0-beta","v2.9.0","v2.9.0-rc2","v2.9.0-rc1","v2.9.0-beta","v2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-0725.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}