CVE-2021-27131
Moodle vulnerable to stored Cross-site Scripting
5.4
MEDIUM
CVSS 3.1
EPSS 0.69%
描述
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).
如何修補 CVE-2021-27131
要修補 CVE-2021-27131,請將受影響套件升級到下列已修補版本。
- —升級至 3.10.2 或更新版本
- —未列出修補版本
CVE-2021-27131 正在被利用嗎?
低 — EPSS 為 0.7%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 3.10.1, < 3.10.2
- from 0, <= 3.10.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |