CVE-2015-3274
MEDIUM 6.1CVSS 3.0Moodle cross-site scripting (XSS) vulnerability
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.
- Published
- 22 Feb 2016
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-f7qm-q26p-6rr2
- Sources
- NVDJSONOSV GHSA-f7qm-q26p-6rr2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.0:*:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.8:*:*:*:*:*:*:* |
= 2.6.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.9:*:*:*:*:*:*:* |
= 2.6.9 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.6.10:*:*:*:*:*:*:* |
= 2.6.10 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.0:*:*:*:*:*:*:* |
= 2.7.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.2:*:*:*:*:*:*:* |
= 2.7.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.3:*:*:*:*:*:*:* |
= 2.7.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.4:*:*:*:*:*:*:* |
= 2.7.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.5:*:*:*:*:*:*:* |
= 2.7.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.6:*:*:*:*:*:*:* |
= 2.7.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.7:*:*:*:*:*:*:* |
= 2.7.7 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.7.8:*:*:*:*:*:*:* |
= 2.7.8 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.0:*:*:*:*:*:*:* |
= 2.8.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.1:*:*:*:*:*:*:* |
= 2.8.1 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.2:*:*:*:*:*:*:* |
= 2.8.2 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.3:*:*:*:*:*:*:* |
= 2.8.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.4:*:*:*:*:*:*:* |
= 2.8.4 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.5:*:*:*:*:*:*:* |
= 2.8.5 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.8.6:*:*:*:*:*:*:* |
= 2.8.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:2.9.0:*:*:*:*:*:*:* |
= 2.9.0 | |
| OSV | Packagist | moodle/moodle | >= 2.7.0, < 2.7.9 | 2.7.9 |
| OSV | Packagist | moodle/moodle | >= 2.8.0, < 2.8.7 | 2.8.7 |
| OSV | Packagist | moodle/moodle | >= 2.9.0, < 2.9.1 | 2.9.1 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50130 · WEB
- http://openwall.com/lists/oss-security/2015/07/13/2 · WEB
- http://www.securitytracker.com/id/1032877
- https://moodle.org/mod/forum/discuss.php?d=316664 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-3274 · ADVISORY
- https://github.com/moodle/moodle/commit/7b15a363201109354bbd6d51a7c70f50dac7b9d8 · WEB
- https://github.com/moodle/moodle/commit/a809a8dccea222a31e0828d4f17889035e6d1a36 · WEB
- https://github.com/moodle/moodle/commit/e96e66aa16dca5cbcdb1aef0f9499edf86f1404b · WEB
- https://github.com/moodle/moodle/commit/ffe5c784889b3f7b2ba11cf9db881d54904623b7 · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 22 Feb 2016)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)