{"id":"BIT-moodle-2020-25631","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.","aliases":["CVE-2020-25631","GHSA-4w4j-9533-82qg"],"modified":"2026-09-08T08:47:31.351092437Z","published":"2024-03-06T11:11:47.716Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=410843"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25631"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.7.0"},{"fixed":"3.7.8"},{"introduced":"3.8.0"},{"fixed":"3.8.5"},{"introduced":"3.9.0"},{"fixed":"3.9.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2020-25631.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}