CVE-2026-102581

published 30 Sep 2026 · updated 30 Sep 2026

Moodle: xss in forum post templates due to insufficient escaping

4.6MediumCVSS 4.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.5.13, 5.0.9, 5.1.6 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.5.13, >=5.0.0 <5.0.9, >=5.1.0 <5.1.6, >=5.2.0 <5.2.24.5.13, 5.0.9, 5.1.6, 5.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102581 severity on Zeptric[![CVE-2026-102581](https://zeptric.io/badge/cve/CVE-2026-102581.svg)](https://zeptric.io/cve/CVE-2026-102581)