VDB

CVE-2021-20183

CVE-2021-20183 PUBLISHED

Moodle Vulnerable to Reflected Cross-site Scripting

Reported by redhat · Published January 28, 2021

moodle/moodle is fixed in 4.0.0-beta and 3.10.1 (Packagist)

It was found in Moodle before version 3.10.1 that some search inputs were vulnerable to reflected XSS due to insufficient escaping of search queries.

Fixed versions

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

PackageEcosystemFixed in
moodle/moodlePackagist4.0.0-beta, 3.10.1
moodlemoodle3.10.1

Affected products

VendorProductVersions
n/amoodlemoodle 3.10.1
n/amoodle3.10.1

Timeline

  • Jan 26, 2021 CVE Published
  • Jan 28, 2021 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated
  • Aug 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20183
vulnetix vdb fixes CVE-2021-20183

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-20183/fixes/registry"

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

References

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