CVE-2015-0216: Moodle does not set the RISK_XSS bit for graders
3.5
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45471%
CWE
Published
5/13/2022
Updated
1/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
AV:N/AC:M/Au:S/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 2.8.0, < 2.8.2 | 2.8.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the missing RISK_XSS flag in the grade capability definition. The patch explicitly adds RISK_XSS to the riskbitmask (RISK_SPAM | RISK_XSS), indicating this was the core issue. While no traditional 'functions' are involved, Moodle's capability system uses these riskbitmask declarations to enforce security handling. The access.php modification directly addresses the XSS vulnerability by properly categorizing the risk profile of the grading operation.