Moodle cross-site scripting (XSS) vulnerability
Summary
CVE-2015-3274: Moodle cross-site scripting (XSS) vulnerability. Affects moodle/moodle across 3 version ranges.
>= 2.7.0, < 2.7.9
>= 2.8.0, < 2.8.7
>= 2.9.0, < 2.9.1
Fixed in 2.7.9, 2.8.7 or 2.9.1, 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 user_get_user_details function in user/lib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to inject arbitrary web script or HTML by leveraging absence of an external_format_text call in a web service.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 2.7.0, < 2.7.92.7.9composer require moodle/moodle:2.7.9 -
>= 2.8.0, < 2.8.72.8.7composer require moodle/moodle:2.8.7 -
>= 2.9.0, < 2.9.12.9.1composer require moodle/moodle:2.9.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
References
Related vulnerabilities
Recent vulnerabilities recorded for moodle/moodle.