CVE-2016-9188
Moodle XSS Vulnerability
Reported by mitre · Published November 4, 2016
moodle/moodle is fixed in 3.2.1 and 3.1.2 (Packagist)
Cross-site scripting (XSS) vulnerabilities in Moodle CMS on or before 3.1.2 allow remote attackers to inject arbitrary web script or HTML via the s_additionalhtmlhead, s_additionalhtmltopofbody, and s_additionalhtmlfooter parameters.
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 | 3.2.1, 3.1.2 |
| moodle | moodle | 3.1.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| moodle | moodle | 0 |
| n/a | n/a | * |
Timeline
- Nov 4, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9188
vulnetix vdb fixes CVE-2016-9188
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-2016-9188/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 94189 vdb-entryx_refsource_BID
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2016-9188 advisory
- https://web.archive.org/web/20210123190812/http://www.securityfocus.com/bid/94189 url
- https://github.com/advisories/GHSA-7ghm-fp7p-qvjq advisory