The issue allows remote authenticated users to obtain sensitive information by accessing the get grades web service, leveraging the student role. This occurs because the `lib/classes/grades external.php` file does not consider the `moodle/grade:viewhidden` capability before displaying hidden grades.