Vulnerability Details : CVE-2021-27131
Potential exploit
Moodle 3.10.1 is vulnerable to persistent/stored cross-site scripting (XSS) due to the improper input sanitization on the "Additional HTML Section" via "Header and Footer" parameter in /admin/settings.php. This vulnerability is leading an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer. NOTE: this is disputed by the vendor because the "Additional HTML Section" for "Header and Footer" can only be supplied by an administrator, who is intentionally allowed to enter unsanitized input (e.g., site-specific JavaScript).
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-27131
- cpe:2.3:a:moodle:moodle:3.10.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-27131
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 29 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-27131
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST |
CWE ids for CVE-2021-27131
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-27131
-
https://docs.moodle.org/402/en/Risks
Risks - MoodleDocs
-
https://github.com/p4nk4jv/CVEs-Assigned/blob/master/Moodle-3.10.1-CVE-2021-27131.md
CVEs-Assigned/Moodle-3.10.1-CVE-2021-27131.md at master · p4nk4jv/CVEs-Assigned · GitHubExploit
-
https://github.com/moodle/moodle
GitHub - moodle/moodle: Moodle - the world's open source learning platformProduct
Jump to