Search for vulnerabilities
Vulnerability ID | VCID-aaaf-hwrd-buhu |
Aliases |
CVE-2021-27131
GHSA-w2pm-fr62-jgv4 |
Summary | Moodle vulnerable to stored Cross-site Scripting 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 may lead an attacker to steal admin and all user account cookies by storing the malicious XSS payload in Header and Footer. |
Status | Disputed |
Exploitability | 0.5 |
Weighted Severity | 6.2 |
Risk | 3.1 |
Affected and Fixed Packages | Package Details |
System | Score | Found at |
---|---|---|
epss | 0.00125 | https://api.first.org/data/v1/epss?cve=CVE-2021-27131 |
epss | 0.00125 | https://api.first.org/data/v1/epss?cve=CVE-2021-27131 |
cvssv3.1 | 5.4 | https://docs.moodle.org/402/en/Risks |
generic_textual | MODERATE | https://docs.moodle.org/402/en/Risks |
cvssv3.1_qr | MODERATE | https://github.com/advisories/GHSA-w2pm-fr62-jgv4 |
cvssv3.1 | 5.4 | https://github.com/moodle/moodle |
generic_textual | MODERATE | https://github.com/moodle/moodle |
cvssv3.1 | 5.4 | https://github.com/p4nk4jv/CVEs-Assigned/blob/master/Moodle-3.10.1-CVE-2021-27131.md |
generic_textual | MODERATE | https://github.com/p4nk4jv/CVEs-Assigned/blob/master/Moodle-3.10.1-CVE-2021-27131.md |
cvssv3.1 | 5.4 | https://nvd.nist.gov/vuln/detail/CVE-2021-27131 |
generic_textual | MODERATE | https://nvd.nist.gov/vuln/detail/CVE-2021-27131 |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Percentile | 0.32796 |
EPSS Score | 0.00125 |
Published At | June 30, 2025, 12:55 p.m. |
Date | Actor | Action | Source | VulnerableCode Version |
---|---|---|---|---|
2025-07-02T06:05:18.610519+00:00 | NVD CVE Status Improver | Improve | https://cveawg.mitre.org/api/cve/CVE-2021-27131 | 36.1.3 |
2025-07-01T12:16:11.398216+00:00 | GithubOSV Importer | Import | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-w2pm-fr62-jgv4/GHSA-w2pm-fr62-jgv4.json | 36.1.3 |