CVE-2026-102581
mediumA flaw was found in Moodle.
Vendor / product: Moodle — moodle
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.
CVSS
5.4
5.4 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-09-30 09:17
Modified: 2026-10-01 15:19
NVD status: Analyzed
Last synced 2 days ago
Verified against the source API 2026-10-27 06:56 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
moodle / moodle <4.5.13, ≥5.0.0 <5.0.9, ≥5.1.0 <5.1.6, ≥5.2.0 <5.2.2
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Vendor advisory: https://moodle.org/mod/forum/discuss.php?d=482499
Patch / mitigation: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88981 patrick@puiterwijk.org
- https://access.redhat.com/security/cve/CVE-2026-102581 patrick@puiterwijk.org
- https://bugzilla.redhat.com/show_bug.cgi?id=2543634 patrick@puiterwijk.org
- https://moodle.org/mod/forum/discuss.php?d=482499 patrick@puiterwijk.org
Data sources
NVD CVE API 2.0 — fetched 2026-10-27 06:56 UTC · record ↗
