Moodle Cross-site scripting (XSS) vulnerability in course management search
Summary
CVE-2016-0725: Moodle Cross-site scripting (XSS) vulnerability in course management search. Affects moodle/moodle across 3 version ranges.
>= 2.8, < 2.8.10
>= 2.9, < 2.9.4
>= 3.0, < 3.0.2
Fixed in 2.8.10, 2.9.4 or 3.0.2, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
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.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 2.8, < 2.8.102.8.10composer require moodle/moodle:2.8.10 -
>= 2.9, < 2.9.42.9.4composer require moodle/moodle:2.9.4 -
>= 3.0, < 3.0.23.0.2composer require moodle/moodle:3.0.2
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Related vulnerabilities
Recent vulnerabilities recorded for moodle/moodle.