CVE-2018-1136 json
Moodle Cross-site Scripting
published 2018-05-25 8 y ago modified 2026-06-17 4 mo ago also GHSA-xhfw-wjjc-4j5h , EUVD-2022-5797
- cvss
- 4.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
An issue was discovered in Moodle 3.x. An authenticated user is allowed to add HTML blocks containing scripts to their Dashboard; this is normally not a security issue because a personal dashboard is visible to this user only. Through this security vulnerability, users can move such a block to other pages where they can be viewed by other users.
Patch / fix
- packagist moodle/moodle 3.1.12, 3.2.9, 3.3.6, 3.4.3
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-1136 updated
moodle: Six security issues fixed in the latest release
-
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
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.1, <3.1.12 >=3.2, <3.2.9 >=3.3, <3.3.6 >=3.4, <3.4.3 |
3.1.12 3.2.9 3.3.6 3.4.3 |
Affected products
- n/a Moodle 3.x unknown
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
moodle.org
/mod/forum/discuss.php?d=371202
web, vendor-advisory
-
securityfocus.com
/bid/104307
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1136
advisory
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2018-1136
- GitHub Advisory GHSA-xhfw-wjjc-4j5h
- NVD CVE-2018-1136
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.