VYPR
Moderate severityNVD Advisory· Published Jul 29, 2013· Updated Jun 16, 2026

CVE-2013-4940

CVE-2013-4940

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
yuinpm
>= 3.0.0, < 3.10.113.10.11
yuinpm
>= 3.10.12, < 3.10.133.10.13
moodle/moodlePackagist
< 2.2.112.2.11
moodle/moodlePackagist
>= 2.3.0, < 2.3.82.3.8
moodle/moodlePackagist
>= 2.4.0-rc1, < 2.4.52.4.5
moodle/moodlePackagist
>= 2.5.0-beta, < 2.5.12.5.1

Affected products

60
  • Moodle/Moodle36 versions
    cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*+ 35 more
    • cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.10:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.3:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.4:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.5:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.6:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.7:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.8:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.1.9:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.10:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.5:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.6:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.7:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.8:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.2.9:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.2:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.3:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.4:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.5:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.6:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.3.7:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.4.0:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.4.1:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.4.2:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.4.3:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.4.4:*:*:*:*:*:*:*
    • cpe:2.3:a:moodle:moodle:2.5.0:*:*:*:*:*:*:*
  • Yahoo/Yui22 versions
    cpe:2.3:a:yahoo:yui:3.0.0:*:*:*:*:*:*:*+ 21 more
    • cpe:2.3:a:yahoo:yui:3.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.10.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.10.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.10.2:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.1.2:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.4.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.4.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.5.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.5.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.6.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.7.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.7.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.7.2:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.7.3:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.8.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.8.1:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.9.0:*:*:*:*:*:*:*
    • cpe:2.3:a:yahoo:yui:3.9.1:*:*:*:*:*:*:*
  • ghsa-coords2 versions
    < 2.2.11+ 1 more
    • (no CPE)range: < 2.2.11
    • (no CPE)range: >= 3.0.0, < 3.10.11

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.