Skip to content
OpenAdvisories
Medium · 4.6 CVE-2026-102581 EUVD-2026-89720GHSA-g6pg-29qv-3h3r

Moodle: xss in forum post templates due to insufficient escaping

Published Sep 30, 2026 · Updated Sep 30, 2026 · Assigned by fedora

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

VendorProductAffectedFixed
— moodle 5.2.0 – < 5.2.2, 5.1.0 – < 5.1.6, 5.0.0 – < 5.0.9, < 4.5.13 5.2.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

References