CVE-2026-102581

Medium

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.

SeverityMedium
CVSS4.6
Exploit probability—
ProductMoodle
PublishedSep 30, 2026
First seenSep 30, 2026

How to fix

Update
  • moodle moodle4.5.13, 5.0.9, 5.1.6, 5.2.2 or later

Affected products

ProductAffected versionsFixed in
moodle moodlev < 4.5.13, 5.0.0 ≤ v < 5.0.9, 5.1.0 ≤ v < 5.1.6, 5.2.0 ≤ v < 5.2.24.5.13, 5.0.9, 5.1.6, 5.2.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.