Skip to content
CVE PROGRAM SOURCE RECORD4.6 Medium

CVE-2026-102581

Moodle: xss in forum post templates due to insufficient escaping

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

moodle

Default version status: unaffected

  • 5.2.0 to < 5.2.2affected
  • 5.1.0 to < 5.1.6affected
  • 5.0.0 to < 5.0.9affected
  • 0 to < 4.5.13affected

References