Description
A flaw was found in Moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The 'manage groups' capability did not have the 'XSS risk' flag assigned to it, but does have that access in certain places. Note that the capability is intended for use by trusted users, and is only assigned to teachers and managers by default.
Remediation
References
Related Vulnerabilities
WordPress Plugin Translate WordPress-Google Language Translator Cross-Site Scripting (4.0.9)
WordPress Plugin WordPress Console Security Bypass (0.3.9)
WordPress Plugin WP Sudoku Plus Unspecified Vulnerability (1.4)
WordPress Plugin WP Flash Player Multiple Cross-Site Scripting Vulnerabilities (1.3)