Moodle XSS Vulnerability
Impact
A flaw was found in moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The /userpix/ page did not escape users' full names, which are included as text when hovering over profile images. Note this page is not linked to by default and its access is restricted.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 3.6.0 before 3.6.1Ecosystem versions | 3.6.1 |
| From 3.5.0 before 3.5.3Ecosystem versions | 3.5.3 |
| From 3.4.0 before 3.4.6Ecosystem versions | 3.4.6 |
| From 3.1.0 before 3.1.15Ecosystem versions | 3.1.15 |
Version evidence: OSV · GHSA-wm4w-8vc6-2j4h
View original version evidence (25 explicit versions)
Original source description
A flaw was found in moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The /userpix/ page did not escape users' full names, which are included as text when hovering over profile images. Note this page is not linked to by default and its access is restricted.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2019-3810
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Public exploit reference packetstormsecurity.com/files/162399/Moodle-3.6.1-Cross-Site-Scripting.html