Skip to content
Fencer Vulns
medium 6.3

CVE-2018-10891 json

Moodle XSS Vulnerability

published 2018-07-10 8 y ago modified 2026-06-17 4 mo 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

Vendor 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 products
    not 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-08).

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

Sources

Fencer Vulns 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.