It was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page.
Note: By default this functionality is only available to trusted users (such as teachers), but has been included as a security issue as a precaution, since it was not sanitized on sites with forceclean enabled.
Severity/Risk: | Minor |
Versions affected: | 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 |
Versions fixed: | 3.9.2, 3.8.5 and 3.7.8 |
Reported by: | DegrangeM |
CVE identifier: | CVE-2020-25631 |
Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-69048 |
Tracker issue: | MDL-69048 Chapter name in book not always escaped with forceclean enabled |