Description
Multiple cross-site scripting (XSS) vulnerabilities in lib/javascript-static.js in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) alt or (2) title attribute in an IMG element.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Moodle 2.5.9/2.6.8/2.7.5/2.8.3 - Block Title Handler Cross-Site Scripting EDB-36418 · webapps · Mar 17, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | <= 2.5.9 | — | GHSA-cp39-43xr-2wrp |
| Packagist | moodle/moodle | >= 2.6.0, < 2.6.9 | 2.6.9 | GHSA-cp39-43xr-2wrp |
| Packagist | moodle/moodle | >= 2.7.0, < 2.7.6 | 2.7.6 | GHSA-cp39-43xr-2wrp |
| Packagist | moodle/moodle | >= 2.8.0, < 2.8.4 | 2.8.4 | GHSA-cp39-43xr-2wrp |