CVE-2014-7835Moodle
Low 2.1
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 13
- CVSS 2.0
- 2.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- Yes
- Published
- Nov 24, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:H/Au:S/C:N/I:P/A:N
What happens
webservice/upload.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not ensure that a file upload is for a private or draft area, which allows remote authenticated users to upload files containing JavaScript, and consequently conduct cross-site scripting (XSS) attacks, by specifying the profile-picture area.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 2.6.0 < 2.6.6 |
2.6.6 |
composer require "moodle/moodle:^2.6.6" |
| Packagist | moodle/moodle |
≥ 2.7.0 < 2.7.3 |
2.7.3 |
composer require "moodle/moodle:^2.7.3" |
Per OSV / GitHub Advisories (GHSA-vrf6-q7qj-69v5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≤ 2.4.11 |
| moodle | moodle | 2.5.0 |
| moodle | moodle | 2.5.1 |
| moodle | moodle | 2.5.2 |
| moodle | moodle | 2.5.3 |
| moodle | moodle | 2.5.4 |
| moodle | moodle | 2.5.5 |
| moodle | moodle | 2.5.6 |
| moodle | moodle | 2.5.7 |
| moodle | moodle | 2.5.8 |
| moodle | moodle | 2.6.0 |
| moodle | moodle | 2.6.1 |
| moodle | moodle | 2.6.2 |
| moodle | moodle | 2.6.3 |
| moodle | moodle | 2.6.4 |
| moodle | moodle | 2.6.5 |
| moodle | moodle | 2.7.0 |
| moodle | moodle | 2.7.1 |
| moodle | moodle | 2.7.2 |
Official sources
References
Links published by the sources. Open them with care.