CVE-2026-102581
JSON

4.6medium

Moodle: xss in forum post templates due to insufficient escaping

Severity
4.6medium CVSS:3.1 by fedora
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
BIT-MOODLE-2026-102581

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

Product or packageVersionsReported by
moodlefrom 5.2.0 before 5.2.2, from 5.1.0 before 5.1.6, from 5.0.0 before 5.0.9, before 4.5.13CVE List
moodle moodlebefore 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2NVD
moodle (Bitnami)before 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2Bitnami Vulnerability Database

All scores

fedora4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102581 changed 2026-09-30CVE Terms of Use
NVDCVE-2026-102581 changed 2026-10-01Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2026-102581 changed 2026-10-05Apache-2.0