VDB

CVE-2021-20279

CVE-2021-20279 PUBLISHED

Moodle contains Stored XSS via ID number user profile field

Reported by redhat · Published March 15, 2021

moodle/moodle is fixed in 3.10.2, 3.9.5, 3.8.8 and 1 more (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
moodle/moodlePackagist3.10.2, 3.9.5, 3.8.8, 3.5.17
moodleBitnami3.10.2, 3.9.5, 3.8.8, 3.5.17
moodlemoodle3.10.2, 3.9.5, 3.8.8, 3.5.17

Affected products

VendorProductVersions
n/amoodleFixed in 3.10.2, 3.9.5, 3.8.8, 3.5.17
n/amoodle3.10.2

Timeline

  • Mar 15, 2021 CVE Published
  • Mar 16, 2021 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20279
vulnetix vdb fixes CVE-2021-20279

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20279/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›