# CVE-2013-4940

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2013-07-26 · Modified: 2024-09-17
- Aliases: GHSA-x5hj-47vv-53p8
- Record: https://cvemate.com/vulnerability/CVE-2013-4940 · JSON: https://cvemate.com/vulnerability/CVE-2013-4940/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:N/I:P/A:N
- EPSS: 1.492%, percentile 75.008%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- moodle moodle (Packagist): \< 2.2.11 \| ≥ 2.3.0, \< 2.3.8 \| ≥ 2.4.0-rc1, \< 2.4.5 \| ≥ 2.5.0-beta, \< 2.5.1
- moodle moodle: 2.1.0 \| 2.1.1 \| 2.1.2 \| 2.1.3 \| 2.1.4 \| 2.1.5 \| 2.1.6 \| 2.1.7 \| 2.1.8 \| 2.1.9 \| 2.1.10 \| 2.2.0 \| 2.2.1 \| 2.2.2 \| 2.2.3 \| 2.2.4 \| 2.2.5 \| 2.2.6 \| 2.2.7 \| 2.2.8 \| 2.2.9 \| 2.2.10 \| 2.3.0 \| 2.3.1 \| 2.3.2 \| 2.3.3 \| 2.3.4 \| 2.3.5 \| 2.3.6 \| 2.3.7 \| 2.4.0 \| 2.4.1 \| 2.4.2 \| 2.4.3 \| 2.4.4 \| 2.5.0
- Npm yui (Npm): ≥ 3.0.0, \< 3.10.11 \| ≥ 3.10.12, \< 3.10.13
- yahoo yui: 3.0.0 \| 3.1.0 \| 3.1.1 \| 3.1.2 \| 3.2.0 \| 3.3.0 \| 3.4.0 \| 3.4.1 \| 3.5.0 \| 3.5.1 \| 3.6.0 \| 3.7.0 \| 3.7.1 \| 3.7.2 \| 3.7.3 \| 3.8.0 \| 3.8.1 \| 3.9.0 \| 3.9.1 \| 3.10.0 \| 3.10.1 \| 3.10.2

## References

- <https://moodle.org/mod/forum/discuss.php?d=232496>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-39678>
- <http://yuilibrary.com/support/20130515-vulnerability/>
- <https://nvd.nist.gov/vuln/detail/CVE-2013-4940>
- <https://web.archive.org/web/20130909203912/http://yuilibrary.com/support/20130515-vulnerability>

---

Data as of 2026-12-05T03:43:29.117Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
