CVE-2026-102581: Moodle: xss in forum post templates due to insufficient escaping

Published Sep 29, 2026
·
Updated

A flaw was found in Moodle. Insufficient escaping in templates used to display forum posts resulted in a cross-site scripting (XSS) risk, allowing a stored script to execute in the browser of another user who views the affected forum post.

Other sources

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.

— MITRE

Affected Software

1 affected component
Moodle Moodle

Event History

Sep 29, 2026
Data Sourced
via Red Hat·08:36 PM
DescriptionSeverityAffected Software
Sep 30, 2026
CVE Published
via MITRE·08:36 AM
Data Sourced
via MITRE·08:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs privileges to create or edit a forum post and must be able to inject malicious content into that post. Exploitation also requires another user to view the affected forum post.

2

What is the likely impact on users who view a malicious post?

The stored script can execute in the viewing user's browser. The provided severity vector indicates low confidentiality and integrity impact, with no availability impact.

3

How can administrators identify potential exposure?

Review forum posts for suspicious or unexpected embedded content, particularly posts created by users with forum posting privileges. The issue is associated with templates used to display forum posts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203