CVE-2026-102581

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
30/09/2026
Last modified:
01/10/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 4.5.13 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 5.0.0 (including) 5.0.9 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 5.1.0 (including) 5.1.6 (excluding)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* 5.2.0 (including) 5.2.2 (excluding)