{"id":"CVE-2018-10891","aliases":["GHSA-p7v9-gjrh-563x"],"url":"https://o3.security/vulnerability/CVE-2018-10891","summary":"Moodle XSS Vulnerability","details":"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.","published":"2018-07-10T18:29:00.313Z","modified":"2026-10-24T10:31:03.094074814Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.5.1"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.4.4"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.3.7"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.2.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.1.13"}],"fix":{"url":"https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06","label":"moodle/moodle@0b18d0c"},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/104739"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=373371"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10891"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-24T10:31:03.094074814Z"}}