{"id":"CVE-2014-0218","aliases":["EUVD-2022-3581","GHSA-ch68-5r37-p7c3","MGASA-2014-0230"],"status":"published","title":"Moodle cross-site scripting (XSS) vulnerability","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","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-08","score":0.01841,"percentile":0.79135,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2014-05-19T18:46:11Z","modified":"2026-06-17T00:02:32Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.4.10","2.5.6","2.6.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.10"}]}],"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.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.6"}]}],"versions":["v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.3"}]}],"versions":["v2.6.0","v2.6.1","v2.6.2"]},{"source":"osv","ecosystem":"Mageia:3","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3-1.mga3"}]}],"bundled":5},{"source":"osv","ecosystem":"Mageia:4","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3-1.mga4"}]}],"bundled":5}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=260366","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://www.securityfocus.com/bid/67479","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-45332","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2014/05/19/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0218","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/5c276a4c324b5137064496d6dd68e71476015fcd","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/729783c4ba971413198f30784b48e3f2107a8da6","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/b8a6f7d19d623bcf992d8ecda94324100bc50e9d","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/c5e8a036c509197bb2927f47c0579992be479f35","tags":["web"]},{"url":"https://web.archive.org/web/20141224120458/http://www.securityfocus.com/bid/67479","tags":["web"]},{"url":"https://github.com/advisories/GHSA-ch68-5r37-p7c3"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2014-0230.html","tags":["advisory"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=260361","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=260362","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=260363","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=260364","tags":["web"]},{"url":"http://docs.moodle.org/dev/Moodle_2.4.10_release_notes","tags":["web"]},{"url":"http://docs.moodle.org/dev/Moodle_2.6.3_release_notes","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13369","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-0218","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","status":"published","published":"2014-05-27T00:00:00Z","modified":"2024-08-06T09:05:39.281Z","updated_at":"2026-11-02T14:33:47.330011Z"}],"euvd":[{"id":"EUVD-2022-3581","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","status":"published","published":"2014-05-27T00:00:00Z","modified":"2024-08-06T09:05:39Z","updated_at":"2026-11-03T01:57:22.035163Z"}],"ghsa":[{"id":"GHSA-ch68-5r37-p7c3","title":"Moodle cross-site scripting (XSS) vulnerability","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","status":"published","published":"2022-05-13T01:12:52Z","modified":"2024-02-02T05:07:24Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:34.405364Z"}],"nvd":[{"id":"CVE-2014-0218","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","status":"published","published":"2014-05-27T00:55:02.683Z","modified":"2026-06-17T00:02:32.38Z","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:54.464139Z"}],"osv":[{"id":"GHSA-ch68-5r37-p7c3","title":"Moodle cross-site scripting (XSS) vulnerability","description":"Cross-site scripting (XSS) vulnerability in the URL downloader repository in repository/url/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.10, 2.5.x before 2.5.6, and 2.6.x before 2.6.3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.","status":"published","published":"2022-05-13T01:12:52Z","modified":"2024-12-07T05:44:14.111024Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"MGASA-2014-0230","title":"Updated moodle packages fix multiple vulnerabilities","description":"Updated moodle package fixes security vulnerabilities:\n\nIn Moodle before 2.6.3, Session checking was not being performed correctly\nin Assignment's quick-grading, allowing forged requests to be made\nunknowingly by authenticated users (CVE-2014-0213).\n\nIn Moodle before 2.6.3, MoodleMobile web service tokens, created\nautomatically in login/token.php, were not expiring and were valid forever\n(CVE-2014-0214).\n\nIn Moodle before 2.6.3, Some student details, including identities, were\nincluded in assignment marking pages and would have been revealed to\nscreen readers or through code inspection (CVE-2014-0215).\n\nIn Moodle before 2.6.3, Access to files linked on HTML blocks on the My\nhome page was not being checked in the correct context, allowing access to\nunauthenticated users (CVE-2014-0216).\n\nIn Moodle before 2.6.3, There was a lack of filtering in the URL\ndownloader repository that could have been exploited for XSS\n(CVE-2014-0218).\n\nThe 2.4 branch of Moodle will no longer be supported as of approximately\nJune 2014, so the Moodle package has been upgraded to version 2.6.3 to fix\nthese issues.\n","status":"published","published":"2014-05-19T18:46:11Z","modified":"2026-04-16T06:26:26.610825652Z","updated_at":"2026-11-02T15:49:39.121227Z"}]}}
