XSS in Moodle

CVE-2021-36568

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.008 (53.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-36568?
CVE-2021-36568 is a medium-severity vulnerability in Moodle, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-09-13.
How severe is CVE-2021-36568?
Medium severity. CVSS v3 base score is 5.4 out of 10.