{"id":"GHSA-78fm-qhh8-8858","summary":"Moodle reflected XSS","details":"The redirect URI in the LTI authorization endpoint required extra sanitizing to prevent reflected XSS and open redirect risks. Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 and earlier unsupported versions are affected.","aliases":["BIT-moodle-2021-32478","CVE-2021-32478"],"modified":"2024-02-16T08:23:28.696782Z","published":"2022-03-12T00:00:32Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-12T00:02:18Z","nvd_published_at":"2022-03-11T18:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32478"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/752ad3d8eb4f9ac22dbf1461aa69d6e0baee503e"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=422314"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.4"}]}],"versions":["v3.10.0","v3.10.0-beta","v3.10.0-rc1","v3.10.0-rc2","v3.10.1","v3.10.2","v3.10.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.10.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-78fm-qhh8-8858/GHSA-78fm-qhh8-8858.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.7"}]}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.9.6","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-78fm-qhh8-8858/GHSA-78fm-qhh8-8858.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8"},{"fixed":"3.8.9"}]}],"versions":["v3.8.0","v3.8.0-beta","v3.8.0-rc1","v3.8.1","v3.8.2","v3.8.3","v3.8.4","v3.8.5","v3.8.6","v3.8.7","v3.8.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-78fm-qhh8-8858/GHSA-78fm-qhh8-8858.json","last_known_affected_version_range":"\u003c= 3.8.8"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}