{"id":"CVE-2018-10891","published":"2018-07-10T18:00:00Z","modified":"2024-08-05T07:54:34Z","title":"A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13","vendor":null,"product":"moodle","tier":"tail","description":{"text":"A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0199,"percentile":0.81149,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=373371","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/104739","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":16.23},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"moodle","versions":["moodle 3.5.1","moodle 3.4.4","moodle 3.3.7","moodle 3.1.13"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.5.0, <3.5.1",">=3.4.0, <3.4.4",">=3.3.0, <3.3.7",">=3.2.0, <3.2.10",">=3.1.0, <3.1.13"],"patched":["3.5.1","3.4.4","3.3.7","3.2.10","3.1.13"],"from":["GHSA-p7v9-gjrh-563x"],"provenance":"source"}],"summary":{"text":"A flaw in the Moodle product's quiz question bank import feature allows JavaScript written into imported question bank content to execute when the question preview is displayed. An attacker needs network access and low-privilege authenticated access to the system, and it requires no user interaction, with the issue affecting Moodle versions before 3.5.1, 3.4.4, 3.3.7 and 3.1.13.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:31Z"},"euvd":{"id":"EUVD-2022-4709","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-1137","published":"2018-05-25","fixed":"3.4.3","kev":false},{"cve":"CVE-2018-10889","published":"2018-07-10","fixed":"3.5.1","kev":false},{"cve":"CVE-2018-10890","published":"2018-07-10","fixed":"3.5.1","kev":false},{"cve":"CVE-2018-10891","published":"2018-07-10","fixed":"3.5.1","kev":false},{"cve":"CVE-2018-14630","published":"2018-09-17","fixed":"3.5.2","kev":false,"link":{"from":"CVE-2018-10891","to":"CVE-2018-14630","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.1.13","toFixed":"3.1.14","daysApart":69}]}},{"cve":"CVE-2018-14631","published":"2018-09-17","fixed":"3.5.2","kev":false},{"cve":"CVE-2018-16854","published":"2018-11-26","fixed":"3.5.3","kev":false}],"package":"Packagist:moodle/moodle"}}