CVE-2021-36568
JSON

5.4medium

Moodle Cross-site Scripting vulnerability

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
1.10% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fm6m-fg23-67jqBIT-MOODLE-2021-36568

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
moodle/moodle (Packagist)up to 3.9.7, from 3.10.0 up to 3.10.4, from 3.11.0 before 3.11.10GitHub Advisory Database
moodle moodle3.9.7, 3.10.4, 3.11.0NVD
fedoraproject fedora35, 36NVD
moodle (Bitnami)from 3.9.7 before 3.9.8, from 3.10.4 before 3.10.5, from 3.11.0 before 3.11.1Bitnami Vulnerability Database

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.x prior to 3.11.10, Moodle 3.10.4, and Moodle 3.9.7.

NVD (es)

En determinados productos Moodle después de crear un curso, es posible añadir en un "Topic" arbitrario un recurso, en este caso una "Database" con el tipo "Text" donde sus valores "Field name" y "Field description" son vulnerables a un ataque de tipo Cross Site Scripting (XSS) Almacenado. Esto afecta a Moodle versión 3.11 y Moodle versión 3.10.4 y Moodle versión 3.9.7

References

https://drive.google.com/drive/folders/1_fO4BKpmD3avGYHSzvIXWs5owqVYgB1s?usp=sharingadvisory, broken-link, third-party-advisory
https://blog.hackingforce.com.br/en/cve-2021-36568/advisory, exploit, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRI4ETMQ4DJR3TZUOOGPBQ32RBD5LNGC/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERQ3NHVOK4ZXT4MS4LBQ2ZJHTON3LIMW/vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-36568advisory, web
https://blog.hackingforce.com.br/en/cve-2021-36568web
https://bugzilla.redhat.com/show_bug.cgi?id=2126857web
https://github.com/moodle/moodlepackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ERQ3NHVOK4ZXT4MS4LBQ2ZJHTON3LIMWweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PRI4ETMQ4DJR3TZUOOGPBQ32RBD5LNGCweb

Sources

SourceRecordLicence
CVE ListCVE-2021-36568 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-fm6m-fg23-67jq changed 2024-02-16CC-BY-4.0
NVDCVE-2021-36568 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2021-36568 changed 2026-09-08Apache-2.0