Description
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).
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w2pm-fr62-jgv4 | Moodle vulnerable to stored Cross-site Scripting |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T20:40:47.335Z
Reserved: 2021-02-10T00:00:00.000Z
Link: CVE-2021-27131
No data.
Status : Modified
Published: 2023-05-16T20:15:08.987
Modified: 2024-11-21T05:57:22.917
Link: CVE-2021-27131
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA