CVE-2013-4940: XSS

Published Jul 26, 2013
·
Updated

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.

Affected Software

64 affected componentsFixes available
Moodle moodle=2.1.0
Moodle moodle=2.1.1
Moodle moodle=2.1.2
Moodle moodle=2.1.3
Moodle moodle=2.1.4
Moodle moodle=2.1.5
Moodle moodle=2.1.6
Moodle moodle=2.1.7
Moodle moodle=2.1.8
Moodle moodle=2.1.9
Moodle moodle=2.1.10
Moodle moodle=2.2.0
Moodle moodle=2.2.1
Moodle moodle=2.2.2
Moodle moodle=2.2.3
Moodle moodle=2.2.4
Moodle moodle=2.2.5
Moodle moodle=2.2.6
Moodle moodle=2.2.7
Moodle moodle=2.2.8
Moodle moodle=2.2.9
Moodle moodle=2.2.10
Moodle moodle=2.3.0
Moodle moodle=2.3.1
Moodle moodle=2.3.2
Moodle moodle=2.3.3
Moodle moodle=2.3.4
Moodle moodle=2.3.5
Moodle moodle=2.3.6
Moodle moodle=2.3.7
Moodle moodle=2.4.0
Moodle moodle=2.4.1
Moodle moodle=2.4.2
Moodle moodle=2.4.3
Moodle moodle=2.4.4
Moodle moodle=2.5.0
Yahoo YUI=3.0.0
Yahoo YUI=3.1.0
Yahoo YUI=3.1.1
Yahoo YUI=3.1.2
Yahoo YUI=3.2.0
Yahoo YUI=3.3.0
Yahoo YUI=3.4.0
Yahoo YUI=3.4.1
Yahoo YUI=3.5.0
Yahoo YUI=3.5.1
Yahoo YUI=3.6.0
Yahoo YUI=3.7.0
Yahoo YUI=3.7.1
Yahoo YUI=3.7.2
Yahoo YUI=3.7.3
Yahoo YUI=3.8.0
Yahoo YUI=3.8.1
Yahoo YUI=3.9.0
Yahoo YUI=3.9.1
Yahoo YUI=3.10.0
Yahoo YUI=3.10.1
Yahoo YUI=3.10.2
composer/moodle/moodle>=2.5.0-beta<2.5.1
2.5.1
composer/moodle/moodle>=2.4.0-rc1<2.4.5
2.4.5
composer/moodle/moodle>=2.3.0<2.3.8
2.3.8
composer/moodle/moodle<2.2.11
2.2.11
npm/yui=3.10.12
3.10.13
npm/yui>=3.0.0<=3.10.0
3.10.11

Event History

Jul 26, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
May 13, 2022
Advisory Published
via GitHub·01:12 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-4940?

CVE-2013-4940 is classified as a medium severity cross-site scripting (XSS) vulnerability.

2

How do I fix CVE-2013-4940?

To fix CVE-2013-4940, update your version of the Yahoo! YUI library to at least 3.10.3 or upgrade Moodle to a version higher than 2.5.1.

3

Which software is affected by CVE-2013-4940?

CVE-2013-4940 affects Yahoo! YUI version 3.10.2 and various Moodle versions from 2.1.10 to 2.5.0.

4

Can CVE-2013-4940 lead to data theft?

Yes, CVE-2013-4940 can allow attackers to inject arbitrary web scripts, potentially leading to data theft or session hijacking.

5

What should I do if I cannot update to fix CVE-2013-4940?

If you cannot update, consider implementing input validation and output encoding to mitigate the effects of CVE-2013-4940.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203