{"id":"CVE-2014-7835","aliases":["GHSA-vrf6-q7qj-69v5"],"kind":"cve","tier":"cold","status":"published","title":"Moodle allows attackers to upload files containing JavaScript","description":"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.","ai_summary":null,"severity":"low","cvss":{"score":2.1,"version":"2.0","vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","source":"NVD"},"scores":[{"score":2.1,"version":"2.0","vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":false,"epss":{"score":0.01433,"percentile":0.73959,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","affected":">= 2.6.0, < 2.6.6","fixed":["2.6.6","2.7.3"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade moodle/moodle to one of 2.6.6, 2.7.3 (or later in the same release line).","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-7835","kind":"vendor"},{"url":"https://github.com/moodle/moodle/commit/2f87351d5480f562d6811cdf3bea032612e0325e","kind":"patch"},{"url":"https://github.com/moodle/moodle/commit/76ae1f6068f63149acc2d8c362af94067f4a227d","kind":"patch"},{"url":"https://github.com/moodle/moodle/commit/ea1fbc00285514242d620ea017e187eb139deedb","kind":"patch"},{"url":"http://www.securitytracker.com/id/1031215","kind":"other"},{"url":"http://openwall.com/lists/oss-security/2014/11/17/11","kind":"other"},{"url":"https://moodle.org/mod/forum/discuss.php?d=275161","kind":"other"},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47868","kind":"other"},{"url":"https://github.com/moodle/moodle","kind":"other"},{"url":"https://web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215","kind":"other"}],"workarounds":null,"vendors":["moodle"],"products":["moodle"],"cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.4:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.5:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.6:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.7:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.5.8:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.4:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.6.5:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.7.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.7.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.7.2:*:*:*:*:*:*:*"],"published_at":"2014-11-24T11:00:00.000Z","modified_at":"2026-06-17T00:15:47.813Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-7835"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-vrf6-q7qj-69v5","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2014-7835","markdown":"https://flawdb.com/CVE-2014-7835.md","json":"https://flawdb.com/api/v1/entries/CVE-2014-7835"}}