CVE-2014-9059Moodle
Medium 4.3 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Nov 24, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.
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 |
< 2.5.9 |
2.5.9 |
composer require "moodle/moodle:^2.5.9" |
| 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-crcq-pw8h-9xwf). 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.
- git.moodle.org Patch
- openwall.com
- www.securityfocus.com
- www.securitytracker.com
- moodle.org Vendor Advisory