{"id":"GHSA-f7qm-q26p-6rr2","aliases":["CVE-2015-3274"],"title":"Moodle cross-site scripting (XSS) vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"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.","severity":"medium","score":6.1,"published":"2022-05-13T01:12:47.000Z","modified":"2024-02-16T08:06:13.408Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-f7qm-q26p-6rr2","url":"https://osv.dev/vulnerability/GHSA-f7qm-q26p-6rr2"}],"ranges":[{"events":[{"introduced":"2.7.0"},{"fixed":"2.7.9"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.7.9"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-f7qm-q26p-6rr2","url":"https://osv.dev/vulnerability/GHSA-f7qm-q26p-6rr2"}],"ranges":[{"events":[{"introduced":"2.8.0"},{"fixed":"2.8.7"}],"type":"ECOSYSTEM"}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6"],"fixed":["2.8.7"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-f7qm-q26p-6rr2","url":"https://osv.dev/vulnerability/GHSA-f7qm-q26p-6rr2"}],"ranges":[{"events":[{"introduced":"2.9.0"},{"fixed":"2.9.1"}],"type":"ECOSYSTEM"}],"versions":["v2.9.0"],"fixed":["2.9.1"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2015-3274","https://github.com/moodle/moodle/commit/7b15a363201109354bbd6d51a7c70f50dac7b9d8","https://github.com/moodle/moodle/commit/a809a8dccea222a31e0828d4f17889035e6d1a36","https://github.com/moodle/moodle/commit/e96e66aa16dca5cbcdb1aef0f9499edf86f1404b","https://github.com/moodle/moodle/commit/ffe5c784889b3f7b2ba11cf9db881d54904623b7","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=316664","https://web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877","http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50130","http://openwall.com/lists/oss-security/2015/07/13/2"],"sources":[{"name":"OSV","id":"GHSA-f7qm-q26p-6rr2","modified":"2024-02-16T08:06:13.408143Z","url":"https://osv.dev/vulnerability/GHSA-f7qm-q26p-6rr2"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T17:10:31.931Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}