{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-10891","id":"CVE-2018-10891","title":"Moodle XSS Vulnerability","description":"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.","descriptionLong":"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:00:00.000Z","updated":"2026-10-24T10:31:03.094074814Z","reserved":"2018-05-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"redhat"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"redhat.com"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["[UNKNOWN] moodle"],"affectedProducts":[{"vendor":"[UNKNOWN]","product":"moodle","defaultStatus":null,"versions":[{"status":"affected","version":"moodle 3.5.1"},{"status":"affected","version":"moodle 3.4.4"},{"status":"affected","version":"moodle 3.3.7"},{"status":"affected","version":"moodle 3.1.13"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=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"],"fixed":["3.5.1","3.4.4","3.3.7","3.2.10","3.1.13"],"advisory":"GHSA-p7v9-gjrh-563x"}],"cwes":["CWE-20"],"aliases":["GHSA-p7v9-gjrh-563x"],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=373371","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"http://www.securityfocus.com/bid/104739","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10891","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0199,"epssPercentile":0.81063,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-10891","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10891","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-10891","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p7v9-gjrh-563x","ok":true,"note":"GHSA-p7v9-gjrh-563x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-10891","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}