A flaw was found in Moodle before 3.7, 3.6.4, 3.5.6, 3.4.9 and 3.1.18. The form to upload cohorts contained a redirect field, which was not restricted to internal URLs.
{
"versions": [
{
"introduced": "3.1.0"
},
{
"last_affected": "3.1.17"
},
{
"introduced": "3.4.0"
},
{
"last_affected": "3.4.8"
},
{
"introduced": "3.5.0"
},
{
"last_affected": "3.5.5"
},
{
"introduced": "3.6.0"
},
{
"last_affected": "3.6.3"
}
]
}