{"id":"CVE-2020-25631","aliases":["BIT-moodle-2020-25631","GHSA-4w4j-9533-82qg"],"url":"https://o3.security/vulnerability/CVE-2020-25631","summary":"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.","published":"2020-12-08T01:15:12.007Z","modified":"2026-07-08T23:35:10.076384Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.2"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.8.5"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.7.8"}],"fix":null,"references":[{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=410843"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:35:10.076384Z"}}