The issue is related to missing file type validation in the `save post materials` function, allowing authenticated attackers with Instructor-level permissions and above to upload arbitrary files on the affected site's server. This could potentially lead to remote code execution.