CVE-2017-2645Moodle
Medium 6.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- No
- Published
- Mar 26, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.1 < 3.1.5 |
3.1.5 |
composer require "moodle/moodle:^3.1.5" |
| Packagist | moodle/moodle |
≥ 3.2 < 3.2.2 |
3.2.2 |
composer require "moodle/moodle:^3.2.2" |
Per OSV / GitHub Advisories (GHSA-9cg4-4f87-jhm3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 3.1.0 |
| moodle | moodle | 3.1.0 |
| moodle | moodle | 3.1.0 |
| moodle | moodle | 3.1.0 |
| moodle | moodle | 3.1.1 |
| moodle | moodle | 3.1.2 |
| moodle | moodle | 3.1.3 |
| moodle | moodle | 3.1.4 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.0 |
| moodle | moodle | 3.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com
- moodle.org Patch Third Party Advisory