CVE-2014-9059
Moodle does not provide charset information in HTTP headers
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2014-9059- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2014-9059- Updated
- 2026-11-02
EUVDEUVD-2022-3625 No score
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.
- Record
EUVD-2022-3625- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-crcq-pw8h-9xwf No score
Moodle does not provide charset information in HTTP headers
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.
- Record
GHSA-crcq-pw8h-9xwf- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-crcq-pw8h-9xwf No score
Moodle does not provide charset information in HTTP headers
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.
- Record
GHSA-crcq-pw8h-9xwf- Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.5.9 | 2.5.9 |
moodle/moodlePackagist |
2.6.0 up to 2.6.6 | 2.6.6 |
moodle/moodlePackagist |
2.7.0 up to 2.7.3 | 2.7.3 |
moodle/moodlePackagist |
before 2.5.9, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 27 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8 |
2.5.9 |
moodle/moodlePackagist |
2.6.0 up to 2.6.6, plus listed versions v2.6.0v2.6.1v2.6.2v2.6.3v2.6.4v2.6.5 |
2.6.6 |
moodle/moodlePackagist |
2.7.0 up to 2.7.3, plus listed versions v2.7.0v2.7.1v2.7.2 |
2.7.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-9059 is a medium vulnerability (CVSS 4.3) in Moodle, published November 24, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.83%, the 78th percentile. Fixed in moodle/moodle 2.5.9.
References
securitytracker.com/id/1031215
openwall.com/lists/oss-security/2014/11/17/11
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47966
moodle.org/mod/forum/discuss.php?d=275146
securityfocus.com/bid/71133
nvd.nist.gov/vuln/detail/CVE-2014-9059
Show 8 moreShow less
github.com/moodle/moodle/commit/0a0145c5e8041aadeff303a9f9984c86706b4e42
github.com/moodle/moodle/commit/293e4bbcb71f0a801c2539ea051c58688314b23a
github.com/moodle/moodle/commit/3c98b7a5ad1bb596a738e550fc3bf966d6415fe0
github.com/moodle/moodle/commit/ac6e453d11024bf6ad99ada1bfc641c6b91ebed6
web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215
web.archive.org/web/20200229043651/http://www.securityfocus.com/bid/71133
github.com/advisories/GHSA-crcq-pw8h-9xwf
github.com/moodle/moodle