CVE-2015-3274
Moodle cross-site scripting (XSS) vulnerability
Reported by redhat · Published February 22, 2016
moodle/moodle is fixed in 2.9.1, 2.8.7 and 2.7.9 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| moodle/moodle | Packagist | 2.9.1, 2.8.7, 2.7.9 |
| moodle | Ubuntu:18.04:LTS | 3.0.3+dfsg-0ubuntu1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| moodle | moodle | 2.7.0, 2.8.0, 2.9.0 |
| n/a | n/a | * |
Timeline
- Jul 13, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jan 26, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-3274
vulnetix vdb fixes CVE-2015-3274
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-3274/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20150713 moodle security announcements mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- 1032877 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2015-3274 advisory
- https://web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877 url
- https://github.com/advisories/GHSA-f7qm-q26p-6rr2 advisory
- https://github.com/moodle/moodle/commit/7b15a363201109354bbd6d51a7c70f50dac7b9d8 fix
- https://github.com/moodle/moodle/commit/a809a8dccea222a31e0828d4f17889035e6d1a36 fix
- https://github.com/moodle/moodle/commit/e96e66aa16dca5cbcdb1aef0f9499edf86f1404b fix
- https://github.com/moodle/moodle/commit/ffe5c784889b3f7b2ba11cf9db881d54904623b7 fix