CVE-2018-10891 json
Moodle XSS Vulnerability
published 8y ago modified 4mo ago also GHSA-p7v9-gjrh-563x , EUVD-2022-4709
- cvss
- 6.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 3.1.13, 3.2.10, 3.3.7, 3.4.4, 3.5.1
- moodle moodle 3.1.13, 3.3.7, 3.4.4, 3.5.1
Is CVE-2018-10891 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-10891 updated cvss 6.3
moodle: Quiz question bank import preview could execute JavaScript
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=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 |
3.5.1 3.4.4 3.3.7 3.2.10 3.1.13 |
Affected products
- [UNKNOWN] moodle
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
moodle.org
/mod/forum/discuss.php?d=373371
web, patch, vendor-advisory
-
github.com
/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06
web
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-10891
web, issue-tracking, third-party-advisory
-
securityfocus.com
/bid/104739
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-10891
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20210124185945/https://www.securityfocus.com/bid/104739
web
Sources
- CVE List CVE-2018-10891
- GitHub Advisory GHSA-p7v9-gjrh-563x
- NVD CVE-2018-10891
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.