Live threats

All CVEs / Moodle

CVE-2013-4939Moodle

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
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 io.swf in the IO Utility component in Yahoo! YUI 3.0.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
npm yui < 3.10.3 3.10.3 npm install yui@3.10.3

Per OSV / GitHub Advisories (GHSA-mj87-8xf8-fp4w). 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.