CVE-2026-102581
4.6medium
Moodle: xss in forum post templates due to insufficient escaping
- Severity
- 4.6medium CVSS:3.1 by fedora
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- BIT-MOODLE-2026-102581
Description
A flaw was found in Moodle. Insufficient output escaping in templates used to display forum posts enables a stored cross-site scripting (XSS) vulnerability. An attacker can inject malicious content into a forum post, which then executes arbitrary script code in the browser of another user viewing the affected post.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | from 5.2.0 before 5.2.2, from 5.1.0 before 5.1.6, from 5.0.0 before 5.0.9, before 4.5.13 | CVE List |
| moodle moodle | before 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2 | NVD |
| moodle (Bitnami) | before 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2 | Bitnami Vulnerability Database |
All scores
| fedora | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981 | fix, patch | |
| https://access.redhat.com/security/cve/CVE-2026-102581 | advisory, third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2543634 | advisory, issue-tracking, third-party-advisory | |
| https://moodle.org/mod/forum/discuss.php?d=482499 | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-102581 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-102581 changed 2026-09-30 | CVE Terms of Use |
| NVD | CVE-2026-102581 changed 2026-10-01 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2026-102581 changed 2026-10-05 | Apache-2.0 |