Security mailing lists by PureSourceCode

CVE-2021-20279

MEDIUM 5.4CVSS 3.1

Moodle contains Stored XSS via ID number user profile field

The ID number user profile field required additional sanitizing to prevent a stored XSS risk in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

Published
15 Mar 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-moodle-2021-20279GHSA-h7h6-fwpv-ggvx
Sources
NVDJSONOSV GHSA-h7h6-fwpv-ggvxJSON

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.0, < 3.5.17 3.5.17
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.8.0, < 3.8.8 3.8.8
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.5 3.9.5
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.10.0, < 3.10.2 3.10.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV Packagist moodle/moodle >= 3.10, < 3.10.2 3.10.2
OSV Packagist moodle/moodle >= 3.9, < 3.9.5 3.9.5
OSV Packagist moodle/moodle >= 3.8, < 3.8.8 3.8.8
OSV Packagist moodle/moodle >= 3.5, < 3.5.17 3.5.17

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Mar 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 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.