{"id":"CVE-2014-7835","published":"2014-11-24T11:00:00Z","modified":"2024-08-06T13:03:26Z","title":"webservice/upload.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not ensure that a file upload is for a…","vendor":null,"product":null,"tier":"tail","description":{"text":"webservice/upload.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not ensure that a file upload is for a private or draft area, which allows remote authenticated users to upload files containing JavaScript, and consequently conduct cross-site scripting (XSS) attacks, by specifying the profile-picture area.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01433,"percentile":0.7372,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1031215","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://openwall.com/lists/oss-security/2014/11/17/11","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=275161","tags":["x_refsource_CONFIRM"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47868","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":14.74}]},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=2.6.0, <2.6.6",">=2.7.0, <2.7.3"],"patched":["2.6.6","2.7.3"],"from":["GHSA-vrf6-q7qj-69v5"],"provenance":"source"}],"summary":{"text":"The flaw is in the webservice/upload.php component of Moodle, affecting versions 2.6.x before 2.6.6 and 2.7.x before 2.7.3, where the script fails to confirm that an uploaded file is destined for a private or draft area. An attacker who holds a valid user account can exploit this by specifying the profile-picture area during upload to store files containing JavaScript, enabling cross-site scripting attacks, with the attack requiring remote, authenticated access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:38Z"},"euvd":{"id":"EUVD-2022-5418","exploited":false,"provenance":"source"}}