Security mailing lists by PureSourceCode

CVE-2021-36568

MEDIUM 5.4CVSS 3.1

Moodle Cross-site Scripting vulnerability

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.

Published
13 Sep 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-moodle-2021-36568GHSA-fm6m-fg23-67jq
Sources
NVDJSONOSV GHSA-fm6m-fg23-67jqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:3.9.7:*:*:*:*:*:*:*
= 3.9.7
NVD moodle moodle
cpe:2.3:a:moodle:moodle:3.10.4:*:*:*:*:*:*:*
= 3.10.4
NVD moodle moodle
cpe:2.3:a:moodle:moodle:3.11.0:*:*:*:*:*:*:*
= 3.11.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV Packagist moodle/moodle <= 3.9.7
OSV Packagist moodle/moodle >= 3.10.0, <= 3.10.4
OSV Packagist moodle/moodle >= 3.11.0, < 3.11.10 3.11.10

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Sep 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.