{"id":"GHSA-f7qm-q26p-6rr2","summary":"Moodle cross-site scripting (XSS) vulnerability","details":"Cross-site scripting (XSS) vulnerability in the user_get_user_details function in user/lib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to inject arbitrary web script or HTML by leveraging absence of an external_format_text call in a web service.","aliases":["CVE-2015-3274"],"modified":"2024-02-16T08:06:13.408143Z","published":"2022-05-13T01:12:47Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-01-26T01:18:29Z","nvd_published_at":"2016-02-22T05:59:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3274"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/7b15a363201109354bbd6d51a7c70f50dac7b9d8"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/a809a8dccea222a31e0828d4f17889035e6d1a36"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/e96e66aa16dca5cbcdb1aef0f9499edf86f1404b"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/ffe5c784889b3f7b2ba11cf9db881d54904623b7"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=316664"},{"type":"WEB","url":"https://web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50130"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2015/07/13/2"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.9"}]}],"versions":["v2.7.0","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7qm-q26p-6rr2/GHSA-f7qm-q26p-6rr2.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.7"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7qm-q26p-6rr2/GHSA-f7qm-q26p-6rr2.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.1"}]}],"versions":["v2.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f7qm-q26p-6rr2/GHSA-f7qm-q26p-6rr2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}