CVE-2026-102581

Moodle: xss in forum post templates due to insufficient escaping

State
Published
Severity
4.6 Medium
Published
Sep 30, 2026
Updated
Sep 30, 2026
Reserved
Sep 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.6 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:Nfedora

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
moodle
  • 5.2.0 to before 5.2.2Affected
  • 5.1.0 to before 5.1.6Affected
  • 5.0.0 to before 5.0.9Affected
  • before 4.5.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.