Vulnerability · Published Sep 30, 2026 · Assigned by fedora
CVE-2026-102581Moodle: xss in forum post templates due to insufficient escaping
Medium 4.6
In plain English
A medium-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).
Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.2%top 90.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 5.2.0 – before 5.2.25.1.0 – before 5.1.65.0.0 – before 5.0.90 – before 4.5.13 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- 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 vdb-entry, x_refsource_REDHAT
- RHBZ#2543634 issue-tracking, x_refsource_REDHAT
- https://moodle.org/mod/forum/discuss.php?d=482499