The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.
https://moodle.org/mod/forum/discuss.php?d=451582
https://bugzilla.redhat.com/show_bug.cgi?id=2243437
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79426