Moodle cross-site scripting (XSS) vulnerability
Impact
Cross-site scripting (XSS) vulnerability in mod/feedback/mapcourse.php in the Feedback module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 allows remote authenticated users to inject arbitrary web script or HTML by leveraging the mod/feedback:mapcourse capability to provide a searchcourse parameter.
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 |
|---|---|
| Earlier releases before 2.5.9Ecosystem versions | 2.5.9 |
| From 2.6.0 before 2.6.6Ecosystem versions | 2.6.6 |
| From 2.7.0 before 2.7.3Ecosystem versions | 2.7.3 |
Version evidence: OSV · GHSA-j4mr-vc54-h5pc
View original version evidence (41 explicit versions)
Original source description
Cross-site scripting (XSS) vulnerability in mod/feedback/mapcourse.php in the Feedback module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 allows remote authenticated users to inject arbitrary web script or HTML by leveraging the mod/feedback:mapcourse capability to provide a searchcourse parameter.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-7830
- Patch github.com/moodle/moodle/commit/7bb6b84cfd308bad89dc0c3f95ad2fa55b7d25f8
- Patch github.com/moodle/moodle/commit/8bf49b7377438a7f259750e2f076c612c0a5d84e
- Patch github.com/moodle/moodle/commit/b7f75a9c05c65fb1d2f6391f5dd852f9e923a183
- Patch github.com/moodle/moodle/commit/c6b6e5decee4c452b8667f82d7c64f137b687d7c
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Security advisory web.archive.org/web/20200228175348/http://www.securityfocus.com/bid/71119
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2014/11/17/11
- Source reference www.securitytracker.com/id/1031215