{"id":"CVE-2015-5337","aliases":["EUVD-2022-1996","GHSA-2hw6-6rgf-726v","MGASA-2015-0464","UBUNTU-CVE-2015-5337"],"status":"published","title":"Moodle XSS Vulnerability","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01077,"percentile":0.65242,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2015-12-05T10:03:58Z","modified":"2026-06-17T00:28:57Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.7.11","2.8.9","2.9.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.11"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.11"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.11"}]}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.6.1","v2.6.10","v2.6.11","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.11"}]}],"versions":["v2.7.0","v2.7.1","v2.7.10","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8","v2.7.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.9"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.3"}]}],"versions":["v2.9.0","v2.9.1","v2.9.2"]},{"source":"osv","ecosystem":"Mageia:5","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.9-1.mga5"}]}],"bundled":9}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-48085","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323232","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5337","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/c73f6d03e5037729097bb9f5f5a55be15f3cab18","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2hw6-6rgf-726v"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0464.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=17280","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323229","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323230","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323231","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323233","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323234","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323235","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323236","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323237","tags":["web"]},{"url":"https://docs.moodle.org/dev/Moodle_2.8.9_release_notes","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=322852","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-5337","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=323232#p1297703","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5337","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-5337","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T06:41:09.409Z","updated_at":"2026-11-02T14:35:39.447402Z"}],"euvd":[{"id":"EUVD-2022-1996","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T06:41:09Z","updated_at":"2026-11-03T02:22:00.305488Z"}],"ghsa":[{"id":"GHSA-2hw6-6rgf-726v","title":"Moodle XSS Vulnerability","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"published","published":"2022-05-13T01:12:48Z","modified":"2023-12-07T19:52:44Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:24.593982Z"}],"nvd":[{"id":"CVE-2015-5337","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"published","published":"2016-02-22T05:59:15.517Z","modified":"2026-06-17T00:28:57.253Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"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:03:16.97467Z"}],"osv":[{"id":"GHSA-2hw6-6rgf-726v","title":"Moodle XSS Vulnerability","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"published","published":"2022-05-13T01:12:48Z","modified":"2024-02-16T08:15:22.502737Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"UBUNTU-CVE-2015-5337","description":"Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly restrict the availability of Flowplayer, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted .swf file.","status":"withdrawn","published":"2016-02-22T05:59:00Z","modified":"2025-07-16T07:33:10.086673Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:10.385269Z"},{"id":"MGASA-2015-0464","title":"Updated moodle packages fix security vulnerability","description":"In Moodle before 2.8.9, if guest access is open on the site,\nunauthenticated users can store Atto draft data through the editor\nautosave area, which could be exploited in a denial of service attack\n(CVE-2015-5332).\n\nIn Moodle before 2.8.9, due to a CSRF issue in the site registration form,\nit is possible to trick a site admin into sending aggregate stats to an\narbitrary domain. The attacker can send the admin a link to a site\nregistration form that will display the correct URL but, if submitted,\nwill register with another hub (CVE-2015-5335).\n\nIn Moodle before 2.8.9, the standard survey module is vulnerable to XSS\nattack by students who fill the survey (CVE-2015-5336).\n\nIn Moodle before 2.8.9, there was a reflected XSS vulnerability in the\nFlowplayer flash video player (CVE-2015-5337).\n\nIn Moodle before 2.8.9, password-protected lesson modules are subject to a\nCSRF vulnerability in the lesson login form (CVE-2015-5338).\n\nIn Moodle before 2.8.9, through web service core_enrol_get_enrolled_users\nit is possible to retrieve list of course participants who would not be\nvisible when using web site (CVE-2015-5339).\n\nIn Moodle before 2.8.9, logged in users who do not have capability 'View\navailable badges without earning them' can still access the full list of\nbadges (CVE-2015-5340).\n\nIn Moodle before 2.8.9, the SCORM module allows to bypass access\nrestrictions based on date and lets users view the SCORM contents\n(CVE-2015-5341).\n\nIn Moodle before 2.8.9, the choice module closing date can be bypassed,\nallowing users to delete or submit new responses after the choice module\nwas closed (CVE-2015-5342).\n","status":"published","published":"2015-12-05T10:03:58Z","modified":"2026-04-16T06:23:28.78777463Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
