{"id":"CVE-2016-2153","published":"2016-05-22T20:00:00Z","modified":"2024-08-05T23:17:50Z","title":"Cross-site scripting (XSS) vulnerability in the advanced-search feature in mod_data in Moodle through 2.6.11, 2.7.x…","vendor":null,"product":null,"tier":"tail","description":{"text":"Cross-site scripting (XSS) vulnerability in the advanced-search feature in mod_data in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to inject arbitrary web script or HTML via a crafted field in a URL, as demonstrated by a search form field.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01465,"percentile":0.74289,"provenance":"source"},"cwes":[],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52727","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/03/21/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=330175","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1035333","tags":["vdb-entry","x_refsource_SECTRACK"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":14.86}]},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=2.7, <2.7.13",">=2.8, <2.8.11",">=2.9, <2.9.5",">=3.0, <3.0.3"],"patched":["2.7.13","2.8.11","2.9.5","3.0.3"],"from":["GHSA-mj85-3hqq-r6r9"],"provenance":"source"}],"summary":{"text":"A cross-site scripting (XSS) flaw exists in the advanced-search feature of the mod_data component in Moodle, affecting versions through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3. An attacker can inject arbitrary web script or HTML by crafting a field value in a URL, as shown with a search form field, so that it executes in a victim's browser when they follow the link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:57Z"},"euvd":{"id":"EUVD-2022-4578","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-moodle-cve-2015-5268","parents":[{"from":"CVE-2015-5268","to":"CVE-2016-2153","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mod/data/lib.php"],"commits":["https://github.com/moodle/moodle/commit/20ff15e22b4f0abebe1ab5fbfd1d681c88765e2a","https://github.com/moodle/moodle/commit/4015226623111438158fa762b7ce61f6cf677665","https://github.com/moodle/moodle/commit/87e60e529939c60ef5b07d70c37426d359b2e8a2","https://github.com/moodle/moodle/commit/8f95eac1634b4d84053cef52a03065e620d6adf2"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2016-2153","to":"CVE-2016-2190","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mod/data/field/url/field.class.php"],"commits":["https://github.com/moodle/moodle/commit/87e60e529939c60ef5b07d70c37426d359b2e8a2","https://github.com/moodle/moodle/commit/8f95eac1634b4d84053cef52a03065e620d6adf2","https://github.com/moodle/moodle/commit/1688564a6eee6000013f6e185f704049283ae375","https://github.com/moodle/moodle/commit/190757854d9ce3b3ce3100dc76de54277f3bdd14"],"basis":"rarely changed file"}]}]}}