GitHub Advisory Database
GHSA-4w4j-9533-82qg
Moodle Cross-site Scripting (XSS)
Details
A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.9 before 3.9.2 (fixed in 3.9.2) |
| Packagist | moodle/moodle | From 3.8 before 3.8.5 (fixed in 3.8.5) |
| Packagist | moodle/moodle | From 3.7 before 3.7.8 (fixed in 3.7.8) |