{"id":"GHSA-75c6-xqwr-v2r9","summary":"Moodle cross-site scripting (XSS) vulnerability","details":"Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.","aliases":["CVE-2014-2571"],"modified":"2024-12-07T05:27:21.517714Z","published":"2022-05-13T01:12:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-01-24T21:14:09Z","nvd_published_at":"2014-03-24T14:20:00Z","cwe_ids":["CWE-79"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2571"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/217d839ded7026ed1b1280e1c296bc80a4036023"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5da73345fdd46cef912b229b2cfae2a26e36efd8"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/7051f3a8828665f4fab37c8db91322fec85a64db"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/fd4b7f57399bed85db0d4066ba12c2633ce87ba3"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=256416"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43690"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2014/03/17/1"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.9"}]}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-75c6-xqwr-v2r9/GHSA-75c6-xqwr-v2r9.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.5"}]}],"versions":["v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-75c6-xqwr-v2r9/GHSA-75c6-xqwr-v2r9.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.2"}]}],"versions":["v2.6.0","v2.6.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-75c6-xqwr-v2r9/GHSA-75c6-xqwr-v2r9.json"}}],"schema_version":"1.9.0"}