Live threats

All CVEs / Moodle

CVE-2014-9059Moodle

Medium 4.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle≤ 2.4.11
moodlemoodle2.5.0
moodlemoodle2.5.1
moodlemoodle2.5.2
moodlemoodle2.5.3
moodlemoodle2.5.4
moodlemoodle2.5.5
moodlemoodle2.5.6
moodlemoodle2.5.7
moodlemoodle2.5.8
moodlemoodle2.6.0
moodlemoodle2.6.1
moodlemoodle2.6.2
moodlemoodle2.6.3
moodlemoodle2.6.4
moodlemoodle2.6.5
moodlemoodle2.7.0
moodlemoodle2.7.1
moodlemoodle2.7.2

Official sources

References

Links published by the sources. Open them with care.