Live threats

All CVEs / Moodle

CVE-2013-4941Moodle

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Jul 29, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

Cross-site scripting (XSS) vulnerability in uploader.swf in the Uploader component in Yahoo! YUI 3.2.0 through 3.9.1, as used in Moodle through 2.1.10, 2.2.x before 2.2.11, 2.3.x before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.1, and other products, allows remote attackers to inject arbitrary web script or HTML via a crafted string in a URL.

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.2.11 2.2.11 composer require "moodle/moodle:^2.2.11"
Packagist moodle/moodle ≥ 2.3.0 < 2.3.8 2.3.8 composer require "moodle/moodle:^2.3.8"
Packagist moodle/moodle ≥ 2.4.0-rc1 < 2.4.5 2.4.5 composer require "moodle/moodle:^2.4.5"
Packagist moodle/moodle ≥ 2.5.0-beta < 2.5.1 2.5.1 composer require "moodle/moodle:^2.5.1"
npm yui ≥ 3.2.0 ≤ 3.9.1 no fixed version —

Per OSV / GitHub Advisories (GHSA-64r3-582j-frqm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.1.0
moodlemoodle2.1.1
moodlemoodle2.1.2
moodlemoodle2.1.3
moodlemoodle2.1.4
moodlemoodle2.1.5
moodlemoodle2.1.6
moodlemoodle2.1.7
moodlemoodle2.1.8
moodlemoodle2.1.9
moodlemoodle2.1.10
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2
moodlemoodle2.2.3
moodlemoodle2.2.4
moodlemoodle2.2.5
moodlemoodle2.2.6
moodlemoodle2.2.7
moodlemoodle2.2.8
moodlemoodle2.2.9
moodlemoodle2.2.10
moodlemoodle2.3.0
moodlemoodle2.3.1
moodlemoodle2.3.2
moodlemoodle2.3.3
moodlemoodle2.3.4
moodlemoodle2.3.5
moodlemoodle2.3.6
moodlemoodle2.3.7
moodlemoodle2.4.0
moodlemoodle2.4.1
moodlemoodle2.4.2
moodlemoodle2.4.3
moodlemoodle2.4.4
moodlemoodle2.5.0
yahooyui3.0.0
yahooyui3.1.0
yahooyui3.1.1
yahooyui3.1.2
yahooyui3.2.0
yahooyui3.3.0
yahooyui3.4.0
yahooyui3.4.1
yahooyui3.5.0
yahooyui3.5.1
yahooyui3.6.0
yahooyui3.7.0
yahooyui3.7.1
yahooyui3.7.2
yahooyui3.7.3
yahooyui3.8.0
yahooyui3.8.1
yahooyui3.9.0
yahooyui3.9.1
yahooyui3.10.0
yahooyui3.10.1
yahooyui3.10.2

Official sources

References

Links published by the sources. Open them with care.