CVE-2026-102581
published medium CVSS 3.1 · 4.6Moodle: xss in forum post templates due to insufficient escaping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle5.2.0 to < 5.2.2 · 5.1.0 to < 5.1.6 · 5.0.0 to < 5.0.9 · 0 to < 4.5.13 · Other versions: unaffected | Affected | Not stated | fedora |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 5.2.0 to < 5.2.2 (affected · semver)5.1.0 to < 5.1.6 (affected · semver)5.0.0 to < 5.0.9 (affected · semver)0 to < 4.5.13 (affected · semver)Default: unaffected | fedora · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981
- https://access.redhat.com/security/cve/CVE-2026-102581
- RHBZ#2543634 https://bugzilla.redhat.com/show_bug.cgi?id=2543634
- https://moodle.org/mod/forum/discuss.php?d=482499
Provider assertions
2fedora · cna
Moodle: xss in forum post templates due to insufficient escaping
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e878238fdef2832976184508a9af194aaa65a02b44df04e12b3caf485c7c63a6
- Ingested
- 30 Sep 2026, 15:18:33 UTC
- Source record
- Official CVE record