CVE-2013-4940

Cross-site scripting (XSS) vulnerability in io.swf in the IO Utility component in Yahoo! YUI 3.10.2, 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. NOTE: this vulnerability exists because of a CVE-2013-4939 regression.

Published: 2013-07-29 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2013-4940 is rated Moderate Risk (43.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.49%). Core evidence: EPSS rose +1.15% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2013-4940

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.34% 1.49% +1.15%
2 2025-03-30 0.41% 0.34% -0.07%
3 2025-03-29 0.41%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2013-4940

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2013-4940

GitHub Security Advisory for CVE-2013-4940

GHSA-x5hj-47vv-53p8 · Severity: medium · Ecosystem: npm — YUI Cross-site Scripting (XSS) vulnerability

OS Trackers for CVE-2013-4940

vendor priority summary link
ubuntu medium CVE-2013-4940 medium priority: Ubuntu including 1 source packages (moodle), 5 status rows across 5 suites (lucid, precise, quantal, raring, upstream): not-affected 4, released 1. https://ubuntu.com/security/CVE-2013-4940

Affected software / configurations for CVE-2013-4940

Vendor Product Version Raw CPE
moodle moodle 2.1.0 cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*
moodle moodle 2.1.1 cpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:*
moodle moodle 2.1.2 cpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:*
moodle moodle 2.1.3 cpe:2.3:a:moodle:moodle:2.1.3:*:*:*:*:*:*:*
moodle moodle 2.1.4 cpe:2.3:a:moodle:moodle:2.1.4:*:*:*:*:*:*:*
moodle moodle 2.1.5 cpe:2.3:a:moodle:moodle:2.1.5:*:*:*:*:*:*:*
moodle moodle 2.1.6 cpe:2.3:a:moodle:moodle:2.1.6:*:*:*:*:*:*:*
moodle moodle 2.1.7 cpe:2.3:a:moodle:moodle:2.1.7:*:*:*:*:*:*:*
moodle moodle 2.1.8 cpe:2.3:a:moodle:moodle:2.1.8:*:*:*:*:*:*:*
moodle moodle 2.1.9 cpe:2.3:a:moodle:moodle:2.1.9:*:*:*:*:*:*:*
moodle moodle 2.1.10 cpe:2.3:a:moodle:moodle:2.1.10:*:*:*:*:*:*:*
moodle moodle 2.2.0 cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
moodle moodle 2.2.1 cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:*
moodle moodle 2.2.2 cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
moodle moodle 2.2.3 cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:*
moodle moodle 2.2.4 cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:*
moodle moodle 2.2.5 cpe:2.3:a:moodle:moodle:2.2.5:*:*:*:*:*:*:*
moodle moodle 2.2.6 cpe:2.3:a:moodle:moodle:2.2.6:*:*:*:*:*:*:*
moodle moodle 2.2.7 cpe:2.3:a:moodle:moodle:2.2.7:*:*:*:*:*:*:*
moodle moodle 2.2.8 cpe:2.3:a:moodle:moodle:2.2.8:*:*:*:*:*:*:*
moodle moodle 2.2.9 cpe:2.3:a:moodle:moodle:2.2.9:*:*:*:*:*:*:*
moodle moodle 2.2.10 cpe:2.3:a:moodle:moodle:2.2.10:*:*:*:*:*:*:*
moodle moodle 2.3.0 cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:*
moodle moodle 2.3.1 cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
moodle moodle 2.3.2 cpe:2.3:a:moodle:moodle:2.3.2:*:*:*:*:*:*:*
moodle moodle 2.3.3 cpe:2.3:a:moodle:moodle:2.3.3:*:*:*:*:*:*:*
moodle moodle 2.3.4 cpe:2.3:a:moodle:moodle:2.3.4:*:*:*:*:*:*:*
moodle moodle 2.3.5 cpe:2.3:a:moodle:moodle:2.3.5:*:*:*:*:*:*:*
moodle moodle 2.3.6 cpe:2.3:a:moodle:moodle:2.3.6:*:*:*:*:*:*:*
moodle moodle 2.3.7 cpe:2.3:a:moodle:moodle:2.3.7:*:*:*:*:*:*:*
moodle moodle 2.4.0 cpe:2.3:a:moodle:moodle:2.4.0:*:*:*:*:*:*:*
moodle moodle 2.4.1 cpe:2.3:a:moodle:moodle:2.4.1:*:*:*:*:*:*:*
moodle moodle 2.4.2 cpe:2.3:a:moodle:moodle:2.4.2:*:*:*:*:*:*:*
moodle moodle 2.4.3 cpe:2.3:a:moodle:moodle:2.4.3:*:*:*:*:*:*:*
moodle moodle 2.4.4 cpe:2.3:a:moodle:moodle:2.4.4:*:*:*:*:*:*:*
moodle moodle 2.5.0 cpe:2.3:a:moodle:moodle:2.5.0:*:*:*:*:*:*:*
yahoo yui 3.0.0 cpe:2.3:a:yahoo:yui:3.0.0:*:*:*:*:*:*:*
yahoo yui 3.1.0 cpe:2.3:a:yahoo:yui:3.1.0:*:*:*:*:*:*:*
yahoo yui 3.1.1 cpe:2.3:a:yahoo:yui:3.1.1:*:*:*:*:*:*:*
yahoo yui 3.1.2 cpe:2.3:a:yahoo:yui:3.1.2:*:*:*:*:*:*:*
yahoo yui 3.2.0 cpe:2.3:a:yahoo:yui:3.2.0:*:*:*:*:*:*:*
yahoo yui 3.3.0 cpe:2.3:a:yahoo:yui:3.3.0:*:*:*:*:*:*:*
yahoo yui 3.4.0 cpe:2.3:a:yahoo:yui:3.4.0:*:*:*:*:*:*:*
yahoo yui 3.4.1 cpe:2.3:a:yahoo:yui:3.4.1:*:*:*:*:*:*:*
yahoo yui 3.5.0 cpe:2.3:a:yahoo:yui:3.5.0:*:*:*:*:*:*:*
yahoo yui 3.5.1 cpe:2.3:a:yahoo:yui:3.5.1:*:*:*:*:*:*:*
yahoo yui 3.6.0 cpe:2.3:a:yahoo:yui:3.6.0:*:*:*:*:*:*:*
yahoo yui 3.7.0 cpe:2.3:a:yahoo:yui:3.7.0:*:*:*:*:*:*:*
yahoo yui 3.7.1 cpe:2.3:a:yahoo:yui:3.7.1:*:*:*:*:*:*:*
yahoo yui 3.7.2 cpe:2.3:a:yahoo:yui:3.7.2:*:*:*:*:*:*:*
yahoo yui 3.7.3 cpe:2.3:a:yahoo:yui:3.7.3:*:*:*:*:*:*:*
yahoo yui 3.8.0 cpe:2.3:a:yahoo:yui:3.8.0:*:*:*:*:*:*:*
yahoo yui 3.8.1 cpe:2.3:a:yahoo:yui:3.8.1:*:*:*:*:*:*:*
yahoo yui 3.9.0 cpe:2.3:a:yahoo:yui:3.9.0:*:*:*:*:*:*:*
yahoo yui 3.9.1 cpe:2.3:a:yahoo:yui:3.9.1:*:*:*:*:*:*:*
yahoo yui 3.10.0 cpe:2.3:a:yahoo:yui:3.10.0:*:*:*:*:*:*:*
yahoo yui 3.10.1 cpe:2.3:a:yahoo:yui:3.10.1:*:*:*:*:*:*:*
yahoo yui 3.10.2 cpe:2.3:a:yahoo:yui:3.10.2:*:*:*:*:*:*:*

References for CVE-2013-4940

cvelogic Threat Intelligence