{"id":"GHSA-9ww8-j8j2-3788","summary":"YUI Cross-site Scripting (XSS) vulnerability","details":"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.","aliases":["CVE-2013-4942"],"modified":"2025-04-12T03:57:07.367742Z","published":"2022-05-13T01:12:55Z","database_specific":{"nvd_published_at":"2013-07-29T13:59:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-04-12T03:26:53Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4942"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=232496"},{"type":"WEB","url":"https://web.archive.org/web/20130909203912/http://yuilibrary.com/support/20130515-vulnerability"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-39678"}],"affected":[{"package":{"name":"yui","ecosystem":"npm","purl":"pkg:npm/yui"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"last_affected":"3.9.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9ww8-j8j2-3788/GHSA-9ww8-j8j2-3788.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9ww8-j8j2-3788/GHSA-9ww8-j8j2-3788.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.8"}]}],"versions":["v2.3.4","v2.3.5","v2.3.6","v2.3.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9ww8-j8j2-3788/GHSA-9ww8-j8j2-3788.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0-rc1"},{"fixed":"2.4.5"}]}],"versions":["v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.2","v2.4.3","v2.4.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9ww8-j8j2-3788/GHSA-9ww8-j8j2-3788.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0-beta"},{"fixed":"2.5.1"}]}],"versions":["v2.5.0","v2.5.0-beta","v2.5.0-rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9ww8-j8j2-3788/GHSA-9ww8-j8j2-3788.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}