Security mailing lists by PureSourceCode

CVE-2021-32475

MEDIUM 5.4CVSS 3.1

Moodle stored Cross-site Scripting

ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.

Published
11 Mar 2022
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-78CWE-79
Also known as
BIT-moodle-2021-32475GHSA-5wjh-v7c8-wrhx
Sources
NVDJSONOSV GHSA-5wjh-v7c8-wrhxJSON

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
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
< 3.5.18 3.5.18
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.8.0, < 3.8.9 3.8.9
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.7 3.9.7
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.10.0, < 3.10.4 3.10.4
OSV Packagist moodle/moodle >= 3.5, < 3.5.18 3.5.18
OSV Packagist moodle/moodle >= 3.8, < 3.8.9 3.8.9
OSV Packagist moodle/moodle >= 3.9, < 3.9.7 3.9.7
OSV Packagist moodle/moodle >= 3.10, < 3.10.4 3.10.4

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Mar 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Mar 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.