Home / [UNKNOWN] / moodle / CVE-2018-10891
CVE-2018-10891: is it exploited, and which versions of [UNKNOWN] moodle are affected and fixed?
CVE-2018-10891 is an improper input validation vulnerability in [UNKNOWN] moodle. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: moodle/moodle from 3.5.0 before 3.5.1, moodle/moodle from 3.4.0 before 3.4.4, moodle/moodle from 3.3.0 before 3.3.7 and 2 more (GitHub advisory GHSA-p7v9-gjrh-563x). Fixed in 3.5.1, 3.4.4, 3.3.7, 3.2.10 and 1 more (GitHub advisory GHSA-p7v9-gjrh-563x). Severity: Medium (6.3, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:30 UTC.
What is CVE-2018-10891?
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.
From the CVE record by redhat, last updated August 5, 2024, 07:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| [UNKNOWN] | moodle | moodle 3.5.1 moodle 3.4.4 moodle 3.3.7 moodle 3.1.13 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.5.0, < 3.5.1 | 3.5.1 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.4.0, < 3.4.4 | 3.4.4 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.3.0, < 3.3.7 | 3.3.7 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.2.0, < 3.2.10 | 3.2.10 | GHSA-p7v9-gjrh-563x |
| Packagist | moodle/moodle | >= 3.1.0, < 3.1.13 | 3.1.13 | GHSA-p7v9-gjrh-563x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 6, 2023. Summary: Moodle XSS Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moodle | moodle | from 3.1 before 3.1.13 | application |
| moodle | moodle | from 3.3 before 3.3.7 | application |
| moodle | moodle | from 3.4 before 3.4.4 | application |
| moodle | moodle | from 3.5 before 3.5.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:34 UTC.
How severe is CVE-2018-10891?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | redhat |
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-10891 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.99% probability of exploitation activity in the next 30 days, percentile 81.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://moodle.org/mod/forum/discuss.php?d=373371 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891 x_refsource_CONFIRM
- 104739 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- May 9, 2018
- Published
- July 10, 2018, 18:00 UTC
- CVE record updated
- August 5, 2024, 07:54 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 01:34 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect moodle?
- May 21, 2020CVE-2020-10738 [UNKNOWN] moodle: improper input validation
- Mar 31, 2020CVE-2019-14880 [UNKNOWN] moodle: authentication bypass (improper authentication)
- Mar 18, 2020CVE-2019-14881 [UNKNOWN] moodle: cross-site scripting (XSS)
- Mar 18, 2020CVE-2019-14884 [UNKNOWN] moodle: cross-site scripting (XSS)
- Mar 18, 2020CVE-2019-14883 [UNKNOWN] moodle: improper authorization
- Mar 18, 2020CVE-2019-14882 [UNKNOWN] moodle: open redirect
- Jan 7, 2020CVE-2019-14879 [UNKNOWN] moodle: privilege escalation
- Mar 27, 2019CVE-2019-3847 [UNKNOWN] Moodle: cross-site scripting (XSS)
Questions about CVE-2018-10891
Is CVE-2018-10891 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.99% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of [UNKNOWN] moodle are affected by CVE-2018-10891?
moodle/moodle from 3.5.0 before 3.5.1, moodle/moodle from 3.4.0 before 3.4.4, moodle/moodle from 3.3.0 before 3.3.7, moodle/moodle from 3.2.0 before 3.2.10 and moodle/moodle from 3.1.0 before 3.1.13, per the GitHub advisory GHSA-p7v9-gjrh-563x. The tables above give every range the sources list.
Which version fixes CVE-2018-10891?
3.5.1, 3.4.4, 3.3.7, 3.2.10 and 3.1.13, per the GitHub advisory GHSA-p7v9-gjrh-563x. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-10891?
Medium (6.3, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-10891?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.