Skip to main content
← All vulnerabilities
CVE-2026-102581BIT-MOODLE-2026-102581

Moodle: xss in forum post templates due to insufficient escaping

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.2, 5.1.6, 5.0.9, 4.5.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moodle

    From 5.2.0 · fixed in 5.2.2; From 5.1.0 · fixed in 5.1.6; From 5.0.0 · fixed in 5.0.9; fixed in 4.5.13

  • moodleBitnami

    fixed in 4.5.13; From 5.0.0 · fixed in 5.0.9; From 5.1.0 · fixed in 5.1.6; From 5.2.0 · fixed in 5.2.2

References 4

git.moodle.org

access.redhat.com

bugzilla.redhat.com

moodle.org