{"id":"CVE-2013-4939","aliases":["EUVD-2020-1179","GHSA-mj87-8xf8-fp4w"],"status":"published","title":"Cross-Site Scripting in yui","description":"Cross-site scripting (XSS) vulnerability in io.swf in the IO Utility component in Yahoo! YUI 3.0.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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01492,"percentile":0.74311,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2013-07-26T22:00:00Z","modified":"2026-06-16T23:58:07Z","fixes":[{"ecosystem":"npm","package":"yui","fixed_in":["3.10.2","3.10.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"yui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.2"}]}]},{"source":"osv","ecosystem":"npm","package":"yui","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.10.3"}]}]}],"products":[{"vendor":"moodle","product":"moodle"},{"vendor":"yahoo","product":"yui"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=232496","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-39678","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://yuilibrary.com/support/20130515-vulnerability/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"https://lists.apache.org/thread.html/d8b9403dbab85a51255614949938b619bd03b1c944c76c48c6996a0e%40%3Cdev.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/72837f969cdf9b63a7e7337edd069fa3b3950eea7c997cc2ff61aa0c%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.npmjs.com/advisories/332","tags":["web"]},{"url":"https://yuilibrary.com/support/20130515-vulnerability/"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4939","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/72837f969cdf9b63a7e7337edd069fa3b3950eea7c997cc2ff61aa0c@%3Cissues.zookeeper.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/d8b9403dbab85a51255614949938b619bd03b1c944c76c48c6996a0e@%3Cdev.zookeeper.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mj87-8xf8-fp4w"},{"url":"https://yuilibrary.com/support/20130515-vulnerability","tags":["web"]},{"url":"http://yuilibrary.com/support/20130515-vulnerability","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2013-4939","description":"Cross-site scripting (XSS) vulnerability in io.swf in the IO Utility component in Yahoo! YUI 3.0.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.","status":"published","published":"2013-07-26T22:00:00Z","modified":"2024-08-06T16:59:41.183Z","updated_at":"2026-11-02T14:34:58.193873Z"}],"euvd":[{"id":"EUVD-2020-1179","description":"Cross-site scripting (XSS) vulnerability in io.swf in the IO Utility component in Yahoo! YUI 3.0.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.","status":"published","published":"2013-07-26T22:00:00Z","modified":"2024-08-06T16:59:41Z","updated_at":"2026-11-03T01:56:29.587006Z"}],"ghsa":[{"id":"GHSA-mj87-8xf8-fp4w","title":"Cross-Site Scripting in yui","description":"Affected versions of `yui` are vulnerable to cross-site scripting in the `uploader.swf` and `io.swf` utilities, via script injection in the url.\n\n\n\n## Recommendation\n\nYUI has published their recommendation to fix this issue. \nTheir recommendation is to:\n - Delete self-hosted copies of these files if you are not using them\n - Use the Yahoo! CDN hosted files\n - Use the patched files provided on the YUI Library [here](https://yuilibrary.com/support/20130515-vulnerability/#resolution).","status":"published","published":"2020-09-01T16:42:51Z","modified":"2023-01-09T05:04:01Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"nvd":[{"id":"CVE-2013-4939","description":"Cross-site scripting (XSS) vulnerability in io.swf in the IO Utility component in Yahoo! YUI 3.0.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.","status":"published","published":"2013-07-29T13:59:20.887Z","modified":"2026-06-16T23:58:07.723Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:31.592595Z"}],"osv":[{"id":"GHSA-mj87-8xf8-fp4w","title":"Cross-Site Scripting in yui","description":"Affected versions of `yui` are vulnerable to cross-site scripting in the `uploader.swf` and `io.swf` utilities, via script injection in the url.\n\n\n\n## Recommendation\n\nYUI has published their recommendation to fix this issue. \nTheir recommendation is to:\n - Delete self-hosted copies of these files if you are not using them\n - Use the Yahoo! CDN hosted files\n - Use the patched files provided on the YUI Library [here](https://yuilibrary.com/support/20130515-vulnerability/#resolution).","status":"published","published":"2020-09-01T16:42:51Z","modified":"2023-11-08T03:57:24.763515Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
