{"id":"GHSA-4w32-c9g7-27qx","summary":"Moodle allows reflected XSS via question bank filter","details":"The question bank filter required additional sanitizing to prevent a reflected XSS risk.","aliases":["BIT-moodle-2025-26530","CVE-2025-26530"],"modified":"2025-08-12T07:12:08.705679Z","published":"2025-02-24T21:31:44Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-02-24T22:12:15Z","nvd_published_at":"2025-02-24T20:15:33Z","cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26530"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=466146"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-84146"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0-beta"},{"fixed":"4.5.2"}]}],"versions":["v4.5.0","v4.5.0-beta","v4.5.0-rc1","v4.5.0-rc2","v4.5.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-4w32-c9g7-27qx/GHSA-4w32-c9g7-27qx.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.4.0-beta"},{"fixed":"4.4.6"}]}],"versions":["v4.4.0","v4.4.0-beta","v4.4.0-rc1","v4.4.0-rc2","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-4w32-c9g7-27qx/GHSA-4w32-c9g7-27qx.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0-beta"},{"fixed":"4.3.10"}]}],"versions":["v4.3.0","v4.3.0-beta","v4.3.0-rc1","v4.3.0-rc2","v4.3.1","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.3.6","v4.3.7","v4.3.8","v4.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-4w32-c9g7-27qx/GHSA-4w32-c9g7-27qx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}