CVE-2021-36568: XSS

Published Sep 13, 2022
·
Updated

In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.

Affected Software

5 affected components
Moodle moodle=3.9.7
Moodle moodle=3.10.4
Moodle moodle=3.11.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Sep 13, 2022
CVE Published
via MITRE·09:06 PM
Data Sourced
via MITRE·09:06 PM
Description

Frequently Asked Questions

1

What is CVE-2021-36568?

CVE-2021-36568 is a vulnerability in certain Moodle products that allows for Cross Site Scripting (XSS) attacks.

2

Which versions of Moodle are affected by CVE-2021-36568?

Moodle versions 3.9.7, 3.10.4, and 3.11.0 are affected by CVE-2021-36568.

3

What is the severity of CVE-2021-36568?

CVE-2021-36568 has a severity rating of medium with a score of 5.4.

4

How can I exploit the vulnerability in CVE-2021-36568?

As a user with access to create a course in Moodle, you can add a resource in an arbitrary topic, specifically a database with the type 'Text', to exploit the Cross Site Scripting (XSS) vulnerability.

5

How can I mitigate the vulnerability in CVE-2021-36568?

To mitigate CVE-2021-36568, update your Moodle installation to a version that is not affected by the vulnerability.

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