Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.1
CVE-2020-25702: Moodle allows malicious JavaScript in content renaming
CVE-2020-25702 · published 5 years ago
Summary
Moodle versions 3.9 to 3.9.2 allow an attacker to inject malicious JavaScript code when renaming content in a content bank. This could potentially lead to unauthorized actions or data theft. Update to Moodle 3.9.3 or 3.10 to fix the issue.
What to do
- Update moodle moodle to version 3.9.3.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | moodle | moodle |
>= 3.9.0, < 3.9.3 Fix: upgrade to 3.9.3
|
| – | moodle | moodle |
>= 3.9, < 3.9.3 cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
| – | fedoraproject | fedora |
32 33 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
| Ubuntu:16.04:LTS | canonical | moodle | All versions |
Original advisory text
In Moodle, it was possible to include JavaScript when re-naming content bank items. Versions affected: 3.9 to 3.9.2. This is fixed in moodle 3.9.3 and 3.10.
In Moodle, it was possible to include JavaScript when re-naming content bank items. Versions affected: 3.9 to 3.9.2. This is fixed in moodle 3.9.3 and 3.10.
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro... URL
- https://nvd.nist.gov/vuln/detail/CVE-2020-25702
- https://github.com/moodle/moodle/commit/66be08216e647532b295a9132070d2435ecd7ad9
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://github.com/advisories/GHSA-pgcp-m69h-p2gr
- https://ubuntu.com/security/CVE-2020-25702 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-25702 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1895437 Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro... URL
- https://moodle.org/mod/forum/discuss.php?d=413940 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published19 Nov 2020
Updated4 Nov 2026
First seen6 Mar 2026
Sources
GHSA-pgcp-m69h-p2gr · GHSA
CVE-2020-25702 · NVD
UBUNTU-CVE-2020-25702 · OSV
CVE-2020-25702 · OSV
Track software like this
Free during beta