CVE-2026-102581
Moodle: xss in forum post templates due to insufficient escaping
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | moodle | <4.5.13>=5.0.0, <5.0.9>=5.1.0, <5.1.6>=5.2.0, <5.2.2 | 4.5.135.0.95.1.65.2.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- git.moodle.org http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-102581
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2543634
- moodle.org https://moodle.org/mod/forum/discuss.php?d=482499
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-102581
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.