CVE-2021-36401
JSON

4.8medium

Moodle vulnerable to Stored Cross-site Scripting

Severity
4.8medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
GHSA-g6h6-4fp6-w33wBIT-MOODLE-2021-36401

Description

In Moodle, ID numbers exported in HTML data formats required additional sanitizing to prevent a local stored XSS risk.

Affected

Product or packageVersionsReported by
Moodle3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versionsCVE List
moodle/moodle (Packagist)from 3.11.0-beta before 3.11.1, from 3.10.0-beta before 3.10.5, before 3.9.8GitHub Advisory Database
moodle moodlebefore 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1NVD
moodle (Bitnami)before 3.9.8, from 3.10.0 before 3.10.5, from 3.11.0 before 3.11.1Bitnami Vulnerability Database

All scores

CISA-ADP4.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD4.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36401 changed 2025-03-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-g6h6-4fp6-w33w changed 2025-03-07CC-BY-4.0
NVDCVE-2021-36401 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2021-36401 changed 2026-09-08Apache-2.0