CVE-2013-4942 json
YUI Cross-site Scripting (XSS) vulnerability
published 13y ago modified 4mo ago also GHSA-9ww8-j8j2-3788 , EUVD-2013-4786
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability in flashuploader.swf in the Uploader component in Yahoo! YUI 3.5.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.
Patch / fix
- packagist moodle/moodle 2.2.11, 2.3.8, 2.4.5, 2.5.1
Is CVE-2013-4942 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-4942 updated cvss 4.3
moodle: upstream 2.5.1, 2.4.5, 2.3.8, 2.2.11 security fixes
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | yui | >=3.2.0, <=3.9.1 |
no fix listed |
| packagist | moodle/moodle | <2.2.11 >=2.3.0, <2.3.8 >=2.4.0-rc1, <2.4.5 >=2.5.0-beta, <2.5.1 |
2.2.11 2.3.8 2.4.5 2.5.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
yuilibrary.com
/support/20130515-vulnerability/
patch, vendor-advisory
-
moodle.org
/mod/forum/discuss.php?d=232496
web, vendor-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-39678
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-4942
advisory
-
web.archive.org
/web/20130909203912/http://yuilibrary.com/support/20130515-vulnerability
web
Sources
- CVE List CVE-2013-4942
- GitHub Advisory GHSA-9ww8-j8j2-3788
- NVD CVE-2013-4942
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.