VDB

CVE-2020-25631

CVE-2020-25631 PUBLISHED CVSS 6.099999904632568 MEDIUM

Moodle Cross-site Scripting (XSS)

Reported by redhat · Published December 8, 2020

moodle/moodle is fixed in 3.9.2, 3.8.5 and 3.7.8 (Packagist)

A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.

Fixed versions

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

PackageEcosystemFixed in
moodle/moodlePackagist3.9.2, 3.8.5, 3.7.8
moodleBitnami3.9.2, 3.8.5, 3.7.8
moodlemoodle3.9.2, 3.8.5, 3.7.8
moodleBitnami3.9.2, 3.8.5, 3.7.8

Risk scores

CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
n/aMoodle3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7
moodlemoodle3.7.0, 3.8.0, 3.9.0
n/aMoodle3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7

Timeline

  • Sep 21, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Sep 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-25631
vulnetix vdb fixes CVE-2020-25631

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-2020-25631/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 ›