CVE-2020-25631
Moodle Cross-site Scripting (XSS)
Reported by redhat · Published December 8, 2020
moodle/moodle is fixed in 3.9.2, 3.8.5 and 3.7.8 (Packagist)
A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.
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.9.2, 3.8.5, 3.7.8 |
| moodle | Bitnami | 3.9.2, 3.8.5, 3.7.8 |
| moodle | moodle | 3.9.2, 3.8.5, 3.7.8 |
| moodle | Bitnami | 3.9.2, 3.8.5, 3.7.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Moodle | 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 |
| moodle | moodle | 3.7.0, 3.8.0, 3.9.0 |
| n/a | Moodle | 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 |
Timeline
- Sep 21, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-25631
vulnetix vdb fixes CVE-2020-25631
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-2020-25631/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-25631 advisory