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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| — | — | >= 5.2.0, < 5.2.2; >= 5.1.0, < 5.1.6; >= 5.0.0, < 5.0.9; < 4.5.13 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981Patch
- https://access.redhat.com/security/cve/CVE-2026-102581Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2543634Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=482499Vendor Advisory
Timeline
- Published
- Sep 30, 2026
- Last modified
- Oct 1, 2026
- NVD status
- Analyzed