High severity · published Jul 10, 2018
CVE-2018-10891
A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13
7.3
CVSS
2.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Moodle · Moodle
3.1 before 3.1.13; 3.3 before 3.3.7; 3.4 before 3.4.4; 3.5 before 3.5.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-10891
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-10891
Third Party Advisory
http://www.securityfocus.com/bid/104739
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891
Patch
https://moodle.org/mod/forum/discuss.php?d=373371
More from Moodle
10.0
CVE-2019-3809
A flaw was found in Moodle versions 3.1 to 3.1.15 and earlier unsupported versions
9.8
CVE-2025-67856
A flaw was found in Moodle
9.8
CVE-2025-26533
An SQL injection risk was identified in the module list filter within course search
9.8
CVE-2024-33999
The referrer URL used by MFA required additional sanitizing, rather than being used directly
9.8
CVE-2023-5550
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the…
