{"id":"CVE-2020-25631","published":"2020-12-08T00:10:13Z","modified":"2024-08-04T15:40:35Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00934,"percentile":0.61623,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=410843","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":12.32}]},"affectedVersions":[{"vendor":"n/a","product":"Moodle","versions":["3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.9, <3.9.2",">=3.8, <3.8.5",">=3.7, <3.7.8"],"patched":["3.9.2","3.8.5","3.7.8"],"from":["GHSA-4w4j-9533-82qg"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting weakness in Moodle versions 3.7 through 3.7.7, 3.8 through 3.8.4, and 3.9 through 3.9.1, where the Book module's chapter title is not escaped on the \"Add new chapter\" page, allowing JavaScript to be included in it. An attacker can cause script to execute in the context of a user's session by getting that content into a book chapter title, which requires the ability to add or edit a book chapter and a user to view the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:50Z"},"euvd":{"id":"EUVD-2022-2455","exploited":false,"provenance":"source"}}